Module workflow_wasm::callback
source · Expand description
Macros
- creates a Callback instance by inspecting a given closure signature
Structs
Callbackis a struct that owns a given Rust closure meant to be bound to JavaScript as a callback.- Collection of callbacks contained in a
std::collections::HashMap.
Enums
- Errors produced by the
callbackmodule
Traits
- Trait allowing to bind a generic
Callbackstruct with aCallbackIdidentifier.
Type Aliases
- Callback Closure that produces a
wasm_bindgen::JsValueerror - Callback Closure that yields no
std::result::Result u64-based Callback Id (alias ofworkflow_core::id::Id).