Skip to main content

build_spawn_fragment

Function build_spawn_fragment 

Source
pub fn build_spawn_fragment(
    key: &str,
    args: Vec<(String, String)>,
    children: Vec<(String, u64)>,
) -> (u64, ScriptCommand)
Expand description

Instantiate the fragment key: mint a reserved token for the instance root and the backing ScriptCommand. args binds parameters, children fills slots with nodes that already exist.