Forked from
Glasgow Haskell Compiler / GHC
This fork has diverged from the upstream repository.

Cheng Shao
authored
This commit implements promise.throwTo() for wasm backend JSFFI exports. This allows the JavaScript side to interrupt Haskell computation by raising an async exception. See subsequent docs/test commits for more details. (cherry picked from commit dc904bfd)