Skip to main content

instance_call

Function instance_call 

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

Dispatch a method on a Timeout/Immediate handle.

ref/unref/refresh return the handle itself (Node chains them); they are inert once the timer has fired or been cleared, since the scheduler entry is gone. close is Node’s alias for clearing the timer.