UNPKG

@anexia/ngx-loading-tools

Version:

This library provides a toolset for common loading state management, by providing hackable Loading Strategies and a Http Interceptor.

11 lines (10 loc) 358 B
import { RequestMatchStrategy } from "@anexia/ngx-interceptor-tools"; import { LoadingHandlerStrategy } from "./loading-handler-strategy"; export declare type LoadingStrategies = LoadingStrategy[]; export interface LoadingStrategy { /** * Strategy to detect request. */ matcher: RequestMatchStrategy; handler: LoadingHandlerStrategy; }