()
| 351 | * @since 4.0.0 |
| 352 | */ |
| 353 | export const make = <In>(): make.Constructor<In> => (...fns: []) => |
| 354 | fromTransform((upstream, scope) => |
| 355 | pipe( |
| 356 | internalStream.fromChannel(Channel.fromPull(Effect.succeed(upstream))), |
| 357 | ...fns as any as [() => Effect.Effect<any>], |
| 358 | Effect.flatMap((a) => Cause.done<End<any>>([a])), |
| 359 | Scope.provide(scope) |
| 360 | ) |
| 361 | ) |
| 362 | |
| 363 | /** |
| 364 | * Companion namespace containing overload types for the pipe-style sink |
nothing calls this directly
no test coverage detected