Advertisement
Guest User

Untitled

a guest
Apr 24th, 2019
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  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. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement