Interface IInternalWebWorkerOptions

interface IInternalWebWorkerOptions {
    host?: any;
    keepIdleModels?: boolean;
    worker: Worker | Promise<Worker>;
}

Properties

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.

worker: Worker | Promise<Worker>

The worker.