Trait script::microtask::MicrotaskRunnable

source ·
pub 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§