Resolves when everything submitted before the call has finished, which is exactly what GraphicsDevice.onFrameComplete promises.
GraphicsDevice.onFrameComplete
external JSPromise<JSAny?> onSubmittedWorkDone();