Skip to main content

with_host

Function with_host 

Source
pub fn with_host<R>(f: impl FnOnce(&mut JsHost) -> R) -> R
Expand description

Run f with mutable access to the thread-local host.