script::microtask

Trait MicrotaskRunnable

Source
pub(crate) trait MicrotaskRunnable {
    // Required method
    fn enter_realm(&self) -> JSAutoRealm;

    // Provided method
    fn handler(&self, _can_gc: CanGc) { ... }
}

Required Methods§

Provided Methods§

Source

fn handler(&self, _can_gc: CanGc)

Implementors§