pub trait MacroTaskExtension {
// Required methods
fn tick(&mut self, ctx: &mut JSContext) -> Result<bool, String>;
fn has_pending(&self) -> bool;
}pub trait MacroTaskExtension {
// Required methods
fn tick(&mut self, ctx: &mut JSContext) -> Result<bool, String>;
fn has_pending(&self) -> bool;
}