Version: 2.67.0

VoidPromiseCallback

THEOplayer > VoidPromiseCallback

VoidPromiseCallback type

An promise-returning asynchronous callback.

The callback *must* return a promise that resolves (or rejects) after all asynchronous work is done.

Signature:
export declare type VoidPromiseCallback = () => PromiseLike<void>;