pub fn call_setup<D: DomTypes, T: CallbackContainer<D>, R>(
cx: &mut JSContext,
callback: &T,
handling: ExceptionHandling,
f: impl FnOnce(&mut 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