pub trait ExtendableEventMethods {
    // Required methods
    fn WaitUntil(
        &self,
        cx: SafeJSContext,
        f: HandleValue<'_>,
    ) -> Result<(), Error>;
    fn IsTrusted(&self) -> bool;
    fn Constructor(
        global: &ServiceWorkerGlobalScope,
        proto: Option<HandleObject<'_>>,
        can_gc: CanGc,
        type_: DOMString,
        eventInitDict: &ExtendableEventInit,
    ) -> Result<Root<Dom<ExtendableEvent>>, Error>;
}

Required Methods§

Object Safety§

This trait is not object safe.

Implementors§