Trait script_traits::ServiceWorkerManagerFactory

source ·
pub trait ServiceWorkerManagerFactory {
    // Required method
    fn create(sw_senders: SWManagerSenders, origin: ImmutableOrigin);
}
Expand description

This trait allows creating a ServiceWorkerManager without depending on the script crate.

Required Methods§

source

fn create(sw_senders: SWManagerSenders, origin: ImmutableOrigin)

Create a ServiceWorkerManager.

Object Safety§

This trait is not object safe.

Implementors§