Table of Contents

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 CancellationToken

The token to monitor for cancellation requests.

Returns

Task