flush method

JSPromise<JSAny?> flush()

@AvailableInWorkers("window_and_dedicated")

The flush() method of the VideoEncoder interface forces all pending encodes to complete.

Implementation

external JSPromise<JSAny?> flush();