mirror of
https://github.com/facebook/react.git
synced 2026-02-26 18:58:05 +00:00
* Facebook -> Meta in copyright rg --files | xargs sed -i 's#Copyright (c) Facebook, Inc. and its affiliates.#Copyright (c) Meta Platforms, Inc. and affiliates.#g' * Manual tweaks
24 lines
561 B
JavaScript
24 lines
561 B
JavaScript
/**
|
|
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
*
|
|
* This source code is licensed under the MIT license found in the
|
|
* LICENSE file in the root directory of this source tree.
|
|
*
|
|
* @flow
|
|
*/
|
|
|
|
import type {CacheDispatcher} from 'react-reconciler/src/ReactInternalTypes';
|
|
|
|
function getCacheSignal(): AbortSignal {
|
|
throw new Error('Not implemented.');
|
|
}
|
|
|
|
function getCacheForType<T>(resourceType: () => T): T {
|
|
throw new Error('Not implemented.');
|
|
}
|
|
|
|
export const DefaultCacheDispatcher: CacheDispatcher = {
|
|
getCacheSignal,
|
|
getCacheForType,
|
|
};
|