pub fn call_setup<D: DomTypes, T: CallbackContainer<D>, R>(
callback: &T,
handling: ExceptionHandling,
f: impl FnOnce(JSContext) -> R,
) -> RExpand description
A function wrapper that performs whatever setup we need to safely make a call.
https://webidl.spec.whatwg.org/#es-invoking-callback-functions