UNPKG

@hasan-akbari/advanced-http-client

Version:

Advanced Angular HttpClient with cache, inflight dedup, rate limit, debounce, queueing, batching, retry/backoff, timeout, logging.

6 lines (5 loc) 249 B
import { Observable } from 'rxjs'; export declare class RequestBatcher { private buffers; enqueue<T>(key: string, payload: any, options: any, perform: (combined: any, endpoint: string) => Observable<any>, endpoint: string): Observable<T>; }