registerEffects method
This function should be invoked by system passing reference of Actions and Store classes. Please keep in mind that effects should not work until you register them. Here is the example how to register effectForAsyncInc effect.
Example
List<Stream<Action>> registerEffects(Actions action$, Store store$) {
return [effectForAsyncInc(action$, store$)];
}
Implementation
List<Stream<Action>> registerEffects(Actions action$, Store store$);