Misc

closing

closing (handler: (data: {}) => void): [() => void, Promise<void>]

Parameters:

  • handler: (data: {}) => void

Returns:

[() => void, Promise<void>]

Source: index.d.ts, line 130, character 9

info

info (): Promise<WorkerInfo>

Returns:

Promise<WorkerInfo>

Source: index.d.ts, line 923, character 6

taskTypes

taskTypes (): Promise<{ [k: string]: {} }>

taskType -> Weight

Returns:

Promise<{ [k: string]: {} }>

Source: index.d.ts, line 936, character 11

version

version (): Promise<Version>

tODO: Info() (name, ...) ?

Returns:

Promise<Version>

Source: index.d.ts, line 150, character 9