Skip to main content

attach_node_in_frame

Function attach_node_in_frame 

Source
pub fn attach_node_in_frame<H: 'static>(
    interp: &mut Interpreter<H>,
    frame: &Waku,
)
Expand description

attach_node for a program that runs under frame: every process it starts is held to the same frame, so a host name the program may not call is refused in its children too. Without this a spawned child would run on the full runtime and a frame would be one spawn away from meaningless.