Module wasm_bindgen::source ·
Support for long-lived closures in
This module defines the
Closure type which is used to pass “owned
closures” from Rust to JS. Some more details can be found on the
A handle to both a closure in Rust as well as JS closure which will invoke the Rust closure.