(terminate: boolean)
| 4267 | const strategy = options.haltStrategy ? haltStrategy.fromInput(options.haltStrategy) : HaltStrategy.Both |
| 4268 | const handler = |
| 4269 | (terminate: boolean) => |
| 4270 | (exit: Exit.Exit<unknown, E | E2>): MergeDecision.MergeDecision<R | R2, E | E2, unknown, E | E2, unknown> => |
| 4271 | terminate || !Exit.isSuccess(exit) ? |
| 4272 | // TODO: remove |
| 4273 | MergeDecision.Done(Effect.suspend(() => exit)) : |
| 4274 | MergeDecision.Await((exit) => Effect.suspend(() => exit)) |
| 4275 | |
| 4276 | return new StreamImpl<A3 | A4, E | E2, R | R2>( |
| 4277 | channel.mergeWith(toChannel(map(self, options.onSelf)), { |
no outgoing calls
no test coverage detected