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
MessagePackWriterThe delegate to invoke to do the synchronous writing.
state
TThe state to pass to the
writer
.
Type Parameters
T
The type of state that may be given to the writer.