Skip to main content

requestAnimationFramePromise

Overview

requestAnimationFramePromise

(): `Promise<number>`

Promise wrapper around requestAnimationFrame

Returns

Promise<number>

Defined in

timers/browser/functions/requestAnimationFramePromise.ts:18