Skip to content

Instantly share code, notes, and snippets.

@MikeRyanDev
Created February 25, 2018 21:23
Show Gist options
  • Save MikeRyanDev/ebe3d7ac2d51dbc8f775cfd851b12a9a to your computer and use it in GitHub Desktop.
Save MikeRyanDev/ebe3d7ac2d51dbc8f775cfd851b12a9a to your computer and use it in GitHub Desktop.
export class BookEffects {
@Effect() deleteBook$ = this.action$.pipe(
ofType(INPUT_ACTION_TYPE),
mergeMap(action => this.bookService.deleteBook(action.bookId)),
);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment