JS API Reference
Module: task/work
Table of contents
Classes
Interfaces
Type Aliases
Type Aliases
Worker
Ƭ Worker<OutputType
>: (ctx
: WorkContext
) => Promise
<OutputType
>
Type parameters
Name |
---|
OutputType |
Type declaration
▸ (ctx
): Promise
<OutputType
>
Parameters
Name | Type |
---|---|
ctx | WorkContext |
Returns
Promise
<OutputType
>