first commit
This commit is contained in:
19
grafana/dashboards/requests/node_modules/http-basic/lib/ICache.js.flow
generated
vendored
Normal file
19
grafana/dashboards/requests/node_modules/http-basic/lib/ICache.js.flow
generated
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
// @flow
|
||||
// Generated using flowgen2
|
||||
|
||||
import type {CachedResponse} from './CachedResponse';
|
||||
|
||||
interface ICache {
|
||||
getResponse(
|
||||
url: string,
|
||||
cb: (err: Error | null, response: CachedResponse | null) => void,
|
||||
): void;
|
||||
setResponse(url: string, response: CachedResponse | null): void;
|
||||
updateResponseHeaders?: (
|
||||
url: string,
|
||||
response: {[key: 'headers' | 'requestTimestamp']: any},
|
||||
) => void;
|
||||
invalidateResponse(url: string, cb: (err: Error | null) => void): void;
|
||||
}
|
||||
|
||||
export type {ICache};
|
||||
Reference in New Issue
Block a user