How to use the @datorama/akita-ng-entity-service.filterMethod function in @datorama/akita-ng-entity-service

To help you get started, we’ve selected a few @datorama/akita-ng-entity-service examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github datorama / akita / angular / playground / src / app / posts / posts.component.ts View on Github external
ngOnInit() {
    this.notifier.action$
      .pipe(
        ofType('success'),
        filterMethod('DELETE'),
        untilDestroyed(this)
      )
      .subscribe(v => console.log(v));

    this.postsService
      .get({
        mapResponseFn: res => {
          return res;
        }
      })
      .subscribe();
    this.loaders.deleteEntity(3);
  }

@datorama/akita-ng-entity-service

Akita entity service

Apache-2.0
Latest version published 1 year ago

Package Health Score

72 / 100
Full package analysis