guest271314 (2019-06-26T04:48:11.000Z)
guest271314 at gmail.com (2019-06-26T04:52:51.134Z)
Evidently ```TaskWorklet``` is no longer implemented by Chromium https://bugs.chromium.org/p/chromium/issues/detail?id=879306. Though ```TaskQueue``` (```ScriptedTaskQueue```) https://chromium.googlesource.com/chromium/src/+/64f633432afef4a8779b45229eb3b7a060222bb0 is still defined at ```window```. ``` (async() => { const queue = window.TaskQueue.default("best-effort"); let result = void 0; await queue.postTask(function() { result = "task1" }); console.log(result); })(); ``` See also https://github.com/WICG/main-thread-scheduling/blob/master/README.md#i