( actionNamespace: string, handler: EventHandler<TRequest, TNext>, reducerProducer?: ReducerProducer<TRequest, TNext, TError, TState> )
| 459 | * @summary  |
| 460 | */ |
| 461 | export function createQueueingService< |
| 462 | TRequest, |
| 463 | TNext = void, |
| 464 | TError = Error, |
| 465 | TState = TNext | null |
| 466 | >( |
| 467 | actionNamespace: string, |
| 468 | handler: EventHandler<TRequest, TNext>, |
| 469 | reducerProducer?: ReducerProducer<TRequest, TNext, TError, TState> |
| 470 | ): Service<TRequest, TNext, TError, TState> { |
| 471 | return createServiceListener( |
| 472 | actionNamespace, |
| 473 | defaultBus, |
| 474 | handler, |
| 475 | reducerProducer, |
| 476 | concatMap |
| 477 | ); |
| 478 | } |
| 479 | /** |
| 480 | * Creates a Service - a concurrency-controlled wrapper around an effect, which tracks state over the effect's lifecycle events. |
| 481 | * The effect can be a Promise-or-Observable-or-AsyncIterator returning function, and is cancelable if Observable. |
no test coverage detected