Skip to content
Snippets Groups Projects
Commit 43d48b44 authored by Cheng Shao's avatar Cheng Shao :beach: Committed by Marge Bot
Browse files

wasm: use scheduler.postTask() for context switch when available

This patch makes use of scheduler.postTask() for JSFFI context switch
when it's available. It's a more principled approach than our
MessageChannel based setImmediate() implementation, and it's available
in latest version of Chromium based browsers.
parent 4941b90e
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment