Modulesยง
- callback
callback
module providesCallback
struct that helps registering Rust closures as JavaScript callbacks.- convert
- WASM bindgen casting and utility functions.
- defer
- The
defer
utility function. - error
- Error enum used by the
workflow_wasm
crate. - extensions
- init
- Workflow RS framework initializers
- jserror
- Structures for handling JavaScript errors. Specifically this module
provides a
JsErrorData
struct which is used to extract information from aJsValue
that 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_wasm
crate. - printable
- Printable representation for a JsValue. Will print the string representation if it is a string, otherwise will output the debug representation.
- result
Result
type used by theworkflow_wasm
crate.- serde
to_value
utility that serializes data to aJsValue
usingserde_wasm_bindgen
withBigInt
serialization enabled.- utils
- Utilities for calling JavaScript functions and retrieving values from JavaScript object properties.