Method SyncAsync
- Namespace
- AvroSharp.Containers
- Assembly
- AvroSharp.dll
SyncAsync(CancellationToken)
Writes the buffered objects as a block, as Sync() does, asynchronously, and returns the position after it.
public ValueTask<long> SyncAsync(CancellationToken cancellationToken = default)
Parameters
cancellationTokenCancellationTokenCancels the writes.