Interface IWebWorkerOptions

interface IWebWorkerOptions {
    createData?: any;
    host?: any;
    keepIdleModels?: boolean;
    label?: string;
    moduleId: string;
}

Properties

createData?: any

The data to send over when calling create on the module.

host?: any

An object that can be used by the web worker to make calls back to the main thread.

keepIdleModels?: boolean

Keep idle models. Defaults to false, which means that idle models will stop syncing after a while.

label?: string

A label to be used to identify the web worker for debugging purposes.

moduleId: string

The AMD moduleId to load. It should export a function create that should return the exported proxy.