Files
react/packages/react-server/src/ReactFizzCache.js
T
Joseph Savona 8cb6a1c034 [be] Remove unused, experimental getCacheSignal API (#28706)
Similar to #28698, this removes the `unstable_getCacheSignal()` API
since we don't intend to ship this to stable.
2024-04-02 10:54:31 -07:00

19 lines
460 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 getCacheForType<T>(resourceType: () => T): T {
throw new Error('Not implemented.');
}
export const DefaultCacheDispatcher: CacheDispatcher = {
getCacheForType,
};