Skip to main content

instance_call

Function instance_call 

Source
pub fn instance_call(
    recv: &Value,
    method: &str,
    args: Vec<Value>,
) -> Result<Value, String>
Expand description

stdlib::instance_call entry for a ChildProcess receiver. EventEmitter methods delegate to events; process-control methods act on the live child (only forked children are live — a spawn/execFile result has already exited, so kill is a no-op there).