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