nx/docs/generated/devkit/AsyncIteratorExecutor.md
Michal Jez 6d2e7cd2cf
feat(nx-plugin): update executor generator to have context (#16982)
Co-authored-by: Craigory Coppola <craigorycoppola@gmail.com>
2024-06-04 17:49:50 -04:00

27 lines
854 B
Markdown

# Type alias: AsyncIteratorExecutor\<T\>
Ƭ **AsyncIteratorExecutor**\<`T`\>: (`options`: `T`, `context`: [`ExecutorContext`](../../devkit/documents/ExecutorContext)) => `AsyncIterableIterator`\<\{ `success`: `boolean` }\>
An executor implementation that returns an async iterator
#### Type parameters
| Name | Type |
| :--- | :---- |
| `T` | `any` |
#### Type declaration
▸ (`options`, `context`): `AsyncIterableIterator`\<\{ `success`: `boolean` }\>
##### Parameters
| Name | Type |
| :-------- | :---------------------------------------------------------- |
| `options` | `T` |
| `context` | [`ExecutorContext`](../../devkit/documents/ExecutorContext) |
##### Returns
`AsyncIterableIterator`\<\{ `success`: `boolean` }\>