zl程序教程

您现在的位置是:首页 >  其它

当前栏目

[RxJS] Defer task execution with the asapScheduler (microtask)

The with Task Rxjs execution defer
2023-09-14 08:59:12 时间
asapScheduleris similar to queueMicroTask()and Promise
AsapScheduler lets you schedule work on the microtask queue, executing task as soon as possible, once all synchronous code has been executed.
Be warned though, that heavy operations within thte Microtask queue will block the UI until the queue is cleared.