( handler: EffectSource<Request, Response>, initialState?: TState )
| 291 | tap(fns.complete ? fns.complete : noop)(completions), |
| 292 | tap(fns.canceled ? fns.canceled : noop)(cancelations), |
| 293 | tap(fns.error ? fns.error : noop)(errors), |
| 294 | ]; |
| 295 | const allEvents = merge(...streams).pipe( |
| 296 | tap({ |
| 297 | finalize: fns.finalized, |
| 298 | }) |
| 299 | ); |
| 300 | const sub = allEvents.subscribe(); |
| 301 | sub.add(ends.pipe(tap(fns.finalized ?? noop)).subscribe()); |
| 302 | |
| 303 | return sub; |
| 304 | }, |
| 305 | }; |
| 306 |
no test coverage detected