示例#1
0
 /// <summary>
 /// Transmit all internal buffers to the end-point and dispose channel.
 /// </summary>
 /// <param name="token">Cancellation token</param>
 /// <returns></returns>
 public async Task DisposeAndTransmitAsync(CancellationToken token)
 {
     DisposeInit();
     await eventProcessor.DisposeAndTransmitAsync(token).ConfigureAwait(false);
 }