Guest User

Untitled

a guest
Dec 12th, 2018
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. @Effect() getConfiguration$ = this.actions$.pipe(
  2. ofType(PlasmaAction.PlasmaActionTypes.GET_CONFIGURATION),
  3. switchMap((action: PlasmaAction.PlasmaActions) => {
  4. return this.plasmaService.send(action.payload).pipe(
  5. map(result => {
  6. return new PlasmaAction.SetConfiguration(result);
  7. })
  8. );
  9. })
  10. );
Add Comment
Please, Sign In to add comment