27 lines
792 B
Markdown
27 lines
792 B
Markdown
# Type alias: PromiseExecutor\<T\>
|
|
|
|
Ƭ **PromiseExecutor**\<`T`\>: (`options`: `T`, `context`: [`ExecutorContext`](../../devkit/documents/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`](../../devkit/documents/ExecutorContext) |
|
|
|
|
##### Returns
|
|
|
|
`Promise`\<\{ `success`: `boolean` }\>
|