WorkerPoolEntry
katanakit-js / WorkerPoolEntry
Interface: WorkerPoolEntry<TInput, TOutput>
Section titled “Interface: WorkerPoolEntry<TInput, TOutput>”Defined in: types/core/workers.ts:5
Type Parameters
Section titled “Type Parameters”| Type Parameter | Default type |
|---|---|
TInput |
unknown |
TOutput |
unknown |
Properties
Section titled “Properties”| Property | Type | Defined in |
|---|---|---|
func |
WorkerFunc<TInput, TOutput> |
types/core/workers.ts:8 |
pending |
Map<string, { cleanup: () => void; reject: (reason) => void; }> |
types/core/workers.ts:9 |
worker |
Worker |
types/core/workers.ts:6 |
workerUrl |
string |
types/core/workers.ts:7 |