Skip to content

Instantly share code, notes, and snippets.

@MikeRyanDev
Created February 25, 2018 20:20
Show Gist options
  • Save MikeRyanDev/ade2b5099994d76ff823d66cc554794c to your computer and use it in GitHub Desktop.
Save MikeRyanDev/ade2b5099994d76ff823d66cc554794c to your computer and use it in GitHub Desktop.
export class BookEffects {
@Effect() getAllBooks$ = this.actions$.pipe(
ofType(INPUT_ACTION_TYPE),
exhaustMap(() => this.booksService.getAll()),
);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment