Functions to obtain Rust object references from WASM ABI.
callback
module provides
Callback
struct that helps registering
Rust closures as JavaScript callbacks.
Subscription-based channel multiplexer - WASM client.
Error enum used by the workflow_wasm
crate.
Workflow RS framework initializers
Structures for handling JavaScript errors. Specifically this module
provides a JsErrorData
struct which is used to extract information
from a JsValue
that represents a JavaScript error.
Helper trait for managing options struct which extends
ObjectHandling of WASM panic hook that allows activation of console-based panic hook
as well as a browser-based panic hook. (the browser-based panic hook activates a full-screen debug
information output in case of a panic - useful on mobile devices or where
the user otherwise has no access to console/developer tools)
Common imports for the workflow_wasm
crate.
Printable representation for a JsValue. Will print the string
representation if it is a string, otherwise
will output the debug representation.
The
defer
utility function.
Result
type used by the
workflow_wasm
crate.
to_value
utility that serializes data to a
JsValue
using
serde_wasm_bindgen
with
BigInt
serialization enabled.
Conversion from Rust streams into async JavaScript generators.
Utilities for calling JavaScript functions and retrieving values
from JavaScript object properties.