pub fn with_host<R>(f: impl FnOnce(&mut JsHost) -> R) -> R
Run f with mutable access to the thread-local host.
f