WorkletMethods

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

Required Methods§

Source

fn AddModule( &self, realm: &mut CurrentRealm<'_>, moduleURL: USVString, options: &WorkletOptions, ) -> Rc<D::Promise>

Implementors§