pub(crate) trait MicrotaskRunnable {
// Required method
fn enter_realm<'cx>(&self, cx: &'cx mut JSContext) -> AutoRealm<'cx>;
// Provided method
fn handler(&self, _cx: &mut JSContext) { ... }
}pub(crate) trait MicrotaskRunnable {
// Required method
fn enter_realm<'cx>(&self, cx: &'cx mut JSContext) -> AutoRealm<'cx>;
// Provided method
fn handler(&self, _cx: &mut JSContext) { ... }
}