( handler: EffectSource<Request, Response>, initialState?: TState )
| 306 | |
| 307 | // The first batch starts us listening |
| 308 | batch.next(); |
| 309 | |
| 310 | return Object.assign(executor, extensions); |
| 311 | } |
| 312 | |
| 313 | /** Creates an Effect - A higher-order wrapper around a Promise-or-Observable-or-AsyncIterator returning function. |
| 314 | * The effect is cancelable if it returns an Observable. `createQueueingEffect` runs in concurrency mode: "immediate" aka `mergeMap`. |
| 315 | * @summary  */ |
| 316 | export function createImmediateEffect< |
| 317 | Request, |
| 318 | Response = void, |
| 319 | TError extends Error = Error, |
| 320 | TState = Response |
| 321 | >( |
no test coverage detected