Safe Haskell | None |
---|---|
Language | GHC2021 |
Language.Javascript.JSaddle.Wasm.JS
Description
The JSaddle command interpreter. This lives in a sublibrary as it does not depend on JSFFI as the rest of jsaddle-wasm, and hence does not induce this property on downstream packages.
Synopsis
Documentation
jsaddleScript :: ByteString Source #
A chunk of JavaScript that defines a function runJSaddle
, a function that
takes a message port (e.g. a web worker) as its single argument, and then
processes incoming JSaddle commands.