27 lines
854 B
Markdown
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` }\>
|