Function pipeGeneratorWithSetup
- pipeGeneratorWithSetup<S, A, T, TReturn, TNext, U, UReturn, UNext>(to, generator, startSetup, ...args): Promise<{
output: AsyncGenerator<U, UReturn, UNext>;
setup: Awaited<S>;
}> Type Parameters
- S
- A extends unknown[]
- T
- TReturn
- TNext
- U
- UReturn
- UNext
Returns Promise<{
output: AsyncGenerator<U, UReturn, UNext>;
setup: Awaited<S>;
}>