# Type alias: PromiseExecutor\ Ƭ **PromiseExecutor**\<`T`\>: (`options`: `T`, `context`: [`ExecutorContext`](/reference/core-api/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`](/reference/core-api/devkit/documents/ExecutorContext) | ##### Returns `Promise`\<\{ `success`: `boolean` }\>