{"size": 414, "ext": "js", "max_stars_repo_path": "packages/recoil/caches/Recoil_CacheImplementationType.js", "max_stars_repo_name": "op8278/Recoil", "max_stars_repo_stars_event_min_datetime": "2020-05-14T15:45:01.000Z", "max_stars_repo_stars_event_max_datetime": "2022-03-31T14:34:47.000Z", "max_issues_repo_path": "packages/recoil/caches/Recoil_CacheImplementationType.js", "max_issues_repo_name": "op8278/Recoil", "max_issues_repo_issues_event_min_datetime": "2020-05-14T17:09:18.000Z", "max_issues_repo_issues_event_max_datetime": "2022-03-31T22:21:36.000Z", "max_forks_repo_path": "packages/recoil/caches/Recoil_CacheImplementationType.js", "max_forks_repo_name": "op8278/Recoil", "max_forks_repo_forks_event_min_datetime": "2020-05-14T15:35:23.000Z", "max_forks_repo_forks_event_max_datetime": "2022-03-31T03:46:34.000Z"}
{"max_stars_count": 16815, "max_issues_count": 1392, "max_forks_count": 1005, "avg_line_length": 20.7, "max_line_length": 66, "alphanum_fraction": 0.6207729469}
/**
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 *
 * @emails oncall+recoil
 * @flow strict
 * @format
 */
'use strict';

export interface CacheImplementation<K, V> {
  +get: K => ?V;
  +set: (K, V) => void;
  +delete: K => void;
  +clear: () => void;
  +size: () => number;
}
