[rcr][ez] Clean up unused $read from rcr (#31136)

This commit is contained in:
lauren 2024-10-07 12:39:14 -04:00 committed by GitHub
parent 1460d67c5b
commit 91c42a14c7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -36,14 +36,6 @@ export function c(size: number) {
})[0];
}
export function $read(memoCache: MemoCache, index: number) {
const value = memoCache[index];
if (value === $empty) {
throw new Error('useMemoCache: read before write');
}
return value;
}
const LazyGuardDispatcher: {[key: string]: (...args: Array<any>) => any} = {};
[
'readContext',