Enums§
- Return
Value - Js script return value, mapping types that can be deserialized as serde_json::Value or not, for the latest an string is returned witht the error message.
Functions§
- create_
runtime_ with_ loader - Create a new runtime with the pjs extension built-in. Allow to pass a ModuleLoader to use, by default NoopModuleLoader is used.
- run_
file - Run a js/ts code from file in an isolated runtime with polkadotjs bundles embedded
- run_
file_ with_ wrap - Run a js/ts code from file in an isolated runtime with polkadotjs bundles embedded
- run_
js_ code - run_
ts_ code