Module workflow_wasm::utils
source · Expand description
Utilities for calling JavaScript functions and retrieving values from JavaScript object properties.
Functions
- Call a JavaScript function without arguments
- Call a JavaScript function with a single argument
- Call a JavaScript function with two arguments
- Obtain a
boolvalue from the object propertyprop - Obtain
f64value from an object property. - Obtain a
JsValuevalue from the object propertyprop - Obtain a
Stringvalue from the object propertyprop - Obtain
u8value from the object propertyprop. - Obtain a
u64value from an object property. Returns successfully parsed value or 0. - Obtain
Vec<u8>from the supplied big number - Obtain a
Vec<u8>from the propertypropexpressed as a big number - Obtain a
Vec<u8>value from the object propertyprop(usingUint8Array)