Skip to content

App.nextFrameOnceCallback method

App › nextFrameOnceCallback

Unofficial

Add callback to execute on next frame, and remove after execution

Signature:

nextFrameOnceCallback(callback: () => void): void

Parameters:

Parameter Type Description
callback () => void The callback to execute once.

Returns: void