-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Description
Note to self for now:
See if we can remove macroTasking behavior - in particular see if we are able to do something like the following after fixing autoStart behavior
// Returns a function that asynchronously schedules a task
export function createTaskScheduler() : TaskScheduler {
if (typeof queueMicrotask === 'function')
return queueMicrotask;
const r = Promise.resolve(undefined);
return (task: Task) => { r.then(task) }
}Metadata
Metadata
Assignees
Labels
No labels