Skip to main content

als_static_call

Function als_static_call 

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

AsyncLocalStorage.snapshot() — a function that runs its argument in the frame current now — and AsyncLocalStorage.bind(fn) — fn, run in the frame current now.