pub trait WorkletMethods<D: DomTypes> {
    // Required method
    fn AddModule(
        &self,
        moduleURL: USVString,
        options: &WorkletOptions,
        _comp: InRealm<'_>,
        _can_gc: CanGc,
    ) -> Rc<Promise>;
}

Required Methods§

source

fn AddModule( &self, moduleURL: USVString, options: &WorkletOptions, _comp: InRealm<'_>, _can_gc: CanGc, ) -> Rc<Promise>

Implementors§