API reference
Method FlushAsync
- Namespace
- DisCatSharp.Voice.Entities
- Assembly
- DisCatSharp.Voice.dll
FlushAsync(CancellationToken)
Flushes the rest of the PCM data in this buffer to Voice packet queue.
public Task FlushAsync(CancellationToken cancellationToken = default)
Parameters
cancellationTokenCancellationTokenThe token to monitor for cancellation requests.