jsaddle-wasm-0.1.2.1: Run JSaddle JSM with the GHC Wasm backend
Safe HaskellNone
LanguageGHC2021

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.