Table of Contents

Delegate MessagePackAsyncWriter.SyncWriter<T>

Namespace
Nerdbank.MessagePack
Assembly
Nerdbank.MessagePack.dll

The delegate type that may be provided to the Write<TState>(SyncWriter<TState>, TState) method.

public delegate void MessagePackAsyncWriter.SyncWriter<T>(ref MessagePackWriter writer, T state)

Parameters

writer MessagePackWriter

The delegate to invoke to do the synchronous writing.

state T

The state to pass to the writer.

Type Parameters

T

The type of state that may be given to the writer.