Skip to content

Awaitable

type Awaitable<T> = T | PromiseLike<T>;

A value that can be awaited.

It is used by every method of DisTube that can be implemented synchronously or asynchronously: the plugin methods and the event listeners.

T = any