flushAsync
The flush() method of the AudioEncoder interface returns a Promise that resolves once all pending messages in the queue have been completed.
The flush() method of the AudioEncoder interface returns a Promise that resolves once all pending messages in the queue have been completed.