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