UNPKG

ngx-crud

Version:

CRUD services in Angular with effortless aborting, caching and observing

13 lines (12 loc) 679 B
import { HttpEvent, HttpHandler, HttpInterceptor, HttpRequest } from '@angular/common/http'; import { Observable } from 'rxjs'; import { AbortService } from './abort.service'; import * as i0 from "@angular/core"; export declare class AbortInterceptor implements HttpInterceptor { protected abortService: AbortService; constructor(abortService: AbortService); intercept<T>(request: HttpRequest<T>, next: HttpHandler): Observable<HttpEvent<T>>; handle<T>(request: HttpRequest<T>, next: HttpHandler): Observable<HttpEvent<T>>; static ɵfac: i0.ɵɵFactoryDeclaration<AbortInterceptor, never>; static ɵprov: i0.ɵɵInjectableDeclaration<AbortInterceptor>; }