Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @Effect() getConfiguration$ = this.actions$.pipe(
- ofType(PlasmaAction.PlasmaActionTypes.GET_CONFIGURATION),
- switchMap((action: PlasmaAction.PlasmaActions) => {
- return this.plasmaService.send(action.payload).pipe(
- map(result => {
- return new PlasmaAction.SetConfiguration(result);
- })
- );
- })
- );
Add Comment
Please, Sign In to add comment