Table of Contents
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

cancellationToken CancellationToken

The token to monitor for cancellation requests.

Returns

Task