Module workflow_wasm::callback
source · Expand description
Macros§
- creates a Callback instance by inspecting a given closure signature
Structs§
Callback
is 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
callback
module
Traits§
- Trait allowing to bind a generic
Callback
struct with aCallbackId
identifier.
Type Aliases§
- Callback Closure that produces a
wasm_bindgen::JsValue
error - Callback Closure that yields no
std::result::Result
u64
-based Callback Id (alias ofworkflow_core::id::Id
).