Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @Injectable()
- export class NotificationEffects {
- @Effect({dispatch: false})
- notificationShow$ = this.actions$
- .ofType(notificationAction.NOTIFICATION_SHOW)
- .do((action: notificationAction.NotificationShowAction) => {
- this.notificationService.info(action.payload.config);
- });
- constructor(private actions$: Actions, private notificationService: NotificationService) {}
- }
Add Comment
Please, Sign In to add comment