(terminate: boolean)
| 4305 | const strategy = options.haltStrategy ? haltStrategy.fromInput(options.haltStrategy) : HaltStrategy.Both |
| 4306 | const handler = |
| 4307 | (terminate: boolean) => |
| 4308 | (exit: Exit.Exit<unknown, E | E2>): MergeDecision.MergeDecision<R | R2, E | E2, unknown, E | E2, unknown> => |
| 4309 | terminate || !Exit.isSuccess(exit) ? |
| 4310 | // TODO: remove |
| 4311 | MergeDecision.Done(Effect.suspend(() => exit)) : |
| 4312 | MergeDecision.Await((exit) => Effect.suspend(() => exit)) |
| 4313 | |
| 4314 | return new StreamImpl<A3 | A4, E | E2, R | R2>( |
| 4315 | channel.mergeWith(toChannel(map(self, options.onSelf)), { |
no outgoing calls
no test coverage detected