Last active
September 16, 2018 08:40
-
-
Save phenomnomnominal/1add61d77d97cc4302b7cf1061ea7245 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Injectable() | |
export class MyEffects { | |
@Effect() | |
public myEffect$: Observable<void> = this.action$.pipe( | |
// ... | |
// Do something observable-y | |
// ... | |
catchError(error => { | |
// handle error | |
}) | |
); | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment