SHARE
TWEET

Untitled

a guest Apr 24th, 2019 68 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. @Injectable()
  2. export class DataEffects {
  3.     @Effect() dataInitialize$ = this.actions$
  4.     .ofType(fromActions.DATA_LOADED).pipe(
  5.     switchMap(payload => {
  6.         ///
  7.     }));
  8. }
  9.  
  10. @Injectable()
  11. export class DataService {
  12.     geData(): Observable<any> {
  13.         return this.backendService.request('/data', 'GET')
  14.     }
  15. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top