Ƭ **PromiseExecutor**\<`T`\>: (`options`: `T`, `context`: [`ExecutorContext`](/docs/reference/devkit/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`](/docs/reference/devkit/ExecutorContext) |

##### Returns

`Promise`\<\{ `success`: `boolean`  }\>
