You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/effects/api.md
-25Lines changed: 0 additions & 25 deletions
Original file line number
Diff line number
Diff line change
@@ -50,31 +50,6 @@ Usage:
50
50
exportclassFeatureModule {}
51
51
```
52
52
53
-
### UPDATE_EFFECTS
54
-
55
-
After feature effects are registered, an `UPDATE_EFFECTS` action is dispatched.
56
-
57
-
```ts
58
-
typeUpdateEffects= {
59
-
type:typeofUPDATE_EFFECTS;
60
-
effects:string[];
61
-
};
62
-
```
63
-
64
-
For example, when you register your feature module as `EffectsModule.forFeature([SomeEffectsClass, AnotherEffectsClass])`,
65
-
it has `SomeEffectsClass` and `AnotherEffectsClass` in an array as its payload.
66
-
67
-
To dispatch an action when the `SomeEffectsClass` effect has been registered, listen to the `UPDATE_EFFECTS` action and use the `effects` payload to filter out non-important effects.
0 commit comments