interface AxiosInterceptorManager<V> {
    clear(): void;
    eject(id: number): void;
    use(onFulfilled?: ((value: V) => V | Promise<V>), onRejected?: ((error: any) => any), options?: AxiosInterceptorOptions): number;
}

Type Parameters

  • V

Methods

Methods

  • Returns void

  • Parameters

    • id: number

    Returns void

  • Parameters

    • OptionalonFulfilled: ((value: V) => V | Promise<V>)
        • (value): V | Promise<V>
        • Parameters

          • value: V

          Returns V | Promise<V>

    • OptionalonRejected: ((error: any) => any)
        • (error): any
        • Parameters

          • error: any

          Returns any

    • Optionaloptions: AxiosInterceptorOptions

    Returns number