diff --git a/docs/effects/api.md b/docs/effects/api.md index d27d7bd8e2..ffdbf151a0 100644 --- a/docs/effects/api.md +++ b/docs/effects/api.md @@ -107,7 +107,7 @@ import 'rxjs/add/operator/takeUntil'; import { Injectable } from '@angular/core'; import { Observable } from 'rxjs/Observable'; import { Action } from '@ngrx/store'; -import { Actions, Effect, OnRunEffects } from '@ngrx/effects'; +import { Actions, Effect, OnRunEffects, EffectsNotification } from '@ngrx/effects'; @Injectable() export class UserEffects implements OnRunEffects { @@ -119,7 +119,7 @@ export class UserEffects implements OnRunEffects { console.log(action); }); - ngrxOnRunEffects(resolvedEffects$: Observable) { + ngrxOnRunEffects(resolvedEffects$: Observable) { return this.actions$.ofType('LOGGED_IN') .exhaustMap(() => resolvedEffects$.takeUntil('LOGGED_OUT')); } diff --git a/modules/effects/src/index.ts b/modules/effects/src/index.ts index c314508b9a..cd112564fb 100644 --- a/modules/effects/src/index.ts +++ b/modules/effects/src/index.ts @@ -5,3 +5,4 @@ export { EffectsModule } from './effects_module'; export { EffectSources } from './effect_sources'; export { OnRunEffects } from './on_run_effects'; export { toPayload } from './util'; +export { EffectNotification } from './effect_notification';