Skip to main content

static_call

Function static_call 

Source
pub fn static_call(
    method: &str,
    args: &[Value],
) -> Option<Result<Value, String>>
Expand description

AsyncResource.bind(fn[, type[, thisArg]]) — with no async-context graph to capture there is nothing to restore, so the bound function IS fn (bound to thisArg when one is given). Node’s own semantics reduce to this whenever no context is active.