Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @Injectable()
- export class DataEffects {
- @Effect() dataInitialize$ = this.actions$
- .ofType(fromActions.DATA_LOADED).pipe(
- switchMap(payload => {
- ///
- }));
- }
- @Injectable()
- export class DataService {
- geData(): Observable<any> {
- return this.backendService.request('/data', 'GET')
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement