IWorker
Static Member Summary
Static Public Members | ||
public static get |
|
Static Method Summary
Static Public Methods | ||
public static |
Pool(clazz: *): * |
|
public static |
Proxy(clazz: *): * |
|
public static |
|
|
public static |
async createProxy(clazz: *, name: *, worker: *): * |
|
public static |
prepareForWorkerUse(baseClazz: *, impl: *) |
|
public static |
async startWorkerForProxy(clazz: *, name: *, workerScript: *): * |
|
public static |
async startWorkerPoolForProxy(clazz: *, name: *, size: *, workerScript: *): * |
|
public static |
async stubBaseOnMessage(msg: *) |
Static Public Members
public static get areWorkersAsync: * source
Static Public Methods
public static async createProxy(clazz: *, name: *, worker: *): * source
Params:
Name | Type | Attribute | Description |
clazz | * | ||
name | * | ||
worker | * |
Return:
* |
public static prepareForWorkerUse(baseClazz: *, impl: *) source
Params:
Name | Type | Attribute | Description |
baseClazz | * | ||
impl | * |
public static async startWorkerForProxy(clazz: *, name: *, workerScript: *): * source
Params:
Name | Type | Attribute | Description |
clazz | * | ||
name | * | ||
workerScript | * |
Return:
* |
public static async startWorkerPoolForProxy(clazz: *, name: *, size: *, workerScript: *): * source
Params:
Name | Type | Attribute | Description |
clazz | * | ||
name | * | ||
size | * | ||
workerScript | * |
Return:
* |
public static async stubBaseOnMessage(msg: *) source
Params:
Name | Type | Attribute | Description |
msg | * |