Type alias: PromiseExecutor<T>
Ƭ PromiseExecutor<T
>: (options
: T
, context
: ExecutorContext
) => Promise
<{ success
: boolean
}>
An executor implementation that returns a promise
Type parameters
Name | Type |
---|---|
T | any |
Type declaration
▸ (options
, context
): Promise
<{ success
: boolean
}>
Parameters
Name | Type |
---|---|
options | T |
context | ExecutorContext |
Returns
Promise
<{ success
: boolean
}>