Method FlushAsync
- Namespace
- DSharpPlus.VoiceNext
- Assembly
- DSharpPlus.VoiceNext.dll
FlushAsync(CancellationToken)
Flushes the rest of the PCM data in this buffer to VoiceNext packet queue.
public Task FlushAsync(CancellationToken cancellationToken = default)
Parameters
cancellationToken
CancellationTokenThe token to monitor for cancellation requests.