Modulesยง
- callback
callbackmodule providesCallbackstruct that helps registering Rust closures as JavaScript callbacks.- convert
- WASM bindgen casting and utility functions.
- defer
- The
deferutility function. - error
- Error enum used by the
workflow_wasmcrate. - extensions
- init
- Workflow RS framework initializers
- jserror
- Structures for handling JavaScript errors. Specifically this module
provides a
JsErrorDatastruct which is used to extract information from aJsValuethat represents a JavaScript error. - options
- Helper trait for managing options struct which extends Object
- panic
- Handling 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)
- prelude
- Common imports for the
workflow_wasmcrate. - printable
- Printable representation for a JsValue. Will print the string representation if it is a string, otherwise will output the debug representation.
- result
Resulttype used by theworkflow_wasmcrate.- serde
to_valueutility that serializes data to aJsValueusingserde_wasm_bindgenwithBigIntserialization enabled.- utils
- Utilities for calling JavaScript functions and retrieving values from JavaScript object properties.