flush method
@AvailableInWorkers("window_and_dedicated")
The flush()
method of the VideoDecoder interface returns a Promise
that resolves once all pending messages in the queue have been completed.
Implementation
external JSPromise<JSAny?> flush();