Functions to obtain Rust object references from WASM ABI.
callback module provides
Callback struct that helps registering
Rust closures as JavaScript callbacks.
The
defer utility function.
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.
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.
Utilities for calling JavaScript functions and retrieving values
from JavaScript object properties.