Skip to content

Commit

Permalink
Merge pull request #26 from ngrx/master
Browse files Browse the repository at this point in the history
chore(docs): Fix OnRunEffects example (ngrx#430)
  • Loading branch information
GulajavaMinistudio authored Sep 27, 2017
2 parents 76f4583 + 4b606d5 commit 26157ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/effects/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ export class UserEffects implements OnRunEffects {

ngrxOnRunEffects(resolvedEffects$: Observable<EffectNotification>) {
return this.actions$.ofType('LOGGED_IN')
.exhaustMap(() => resolvedEffects$.takeUntil('LOGGED_OUT'));
.exhaustMap(() => resolvedEffects$.takeUntil(this.actions$.ofType('LOGGED_OUT')));
}
}
```
Expand Down

0 comments on commit 26157ac

Please sign in to comment.