FluidFramework icon indicating copy to clipboard operation
FluidFramework copied to clipboard

Idle callback api

Open WayneFerrao opened this issue 3 years ago • 0 comments

AB#953

Add RequestIdleCallback API

My plan was to create an API that would add non-essential tasks to a queue that would run during idle time, if requestIdleCallback was available. If unavailable, it would default to using setTimeout.

After adding to the Task queue, run the queue and execute the pending callbacks as long as there is time remaining.

WayneFerrao avatar Sep 06 '22 19:09 WayneFerrao