Interface: Performer<Type, Data, Options, Result>
Classes that can perform tasks should implement the Performer interface.
Type parameters​
Name | Type |
---|---|
Type | string |
Data | unknown |
Options | unknown |
Result | unknown |
Methods​
perform​
â–¸ perform(task
): Promise
<Result
>
Parameters​
Name | Type |
---|---|
task | Task <Type , Data , Options > |
Returns​
Promise
<Result
>