pub fn spawn(
name: Option<&str>,
wasm_path: &str,
on_exit: OnExit,
request_capabilities: Vec<Capability>,
grant_capabilities: Vec<(ProcessId, Json)>,
public: bool,
) -> Result<ProcessId, SpawnError>
Expand description
Spawn a new process. This function is a wrapper around the standard spawn()
function
provided in hyperware::process::standard
(which is generated by the WIT file).