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

Dispatch a method on a REPLServer instance (@@native = "REPLServer"). The interactive loop has already exited by the time these run, so they are best-effort. Requires parent wiring of the "REPLServer" tag to be reachable.