| 36 | } |
| 37 | |
| 38 | export interface FlyRequestInterceptor<V> { |
| 39 | use(onSend?: (request: V) => any): void; |
| 40 | lock(): void; |
| 41 | unlock(): void; |
| 42 | |
| 43 | clear(): void; |
| 44 | } |
| 45 | export interface FlyResponseInterceptor<V> { |
| 46 | use(onSucceed?: (response: V) => any, onError?: (err: Error) => any): void; |
| 47 | lock(): void; |
no outgoing calls
no test coverage detected