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