Skip to content

PgSharedReader<T, TResult>

Namespace: Ankus

Assembly: Ankus.Runtime.dll

Reads an unmanaged value through a reference limited to the synchronous callback.

public delegate TResult PgSharedReader<T, out TResult>(scoped in T value) where T : unmanaged

Type parameters:

T

The unmanaged shared value.

TResult

The owned result returned by the callback.

Parameters:

value — T

The shared value, valid only during this callback.

Returns: TResult

The callback’s owned result.