Comment on page
task/work
Ƭ Worker<
InputType
, OutputType
>: (ctx
: WorkContext
, data?
: InputType
) => Promise
<OutputType
| undefined
>Name | Type |
---|---|
InputType | unknown |
OutputType | unknown |
▸ (
ctx
, data?
): Promise
<OutputType
| undefined
>Parameters
Name | Type |
---|---|
ctx | |
data? | InputType |
Returns
Promise
<OutputType
| undefined
>Last modified 9mo ago