Skip to content
Snippets Groups Projects
Commit 76685f99 authored by Cheng Shao's avatar Cheng Shao
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.

(cherry picked from commit 43d48b44)
parent 6d239934
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