MCPcopy
hub / github.com/facebook/react / setLimit

Function setLimit

packages/react-cache/src/LRU.js:145–148  ·  view source on GitHub ↗
(newLimit: number)

Source from the content-addressed store, hash-verified

143 }
144
145 function setLimit(newLimit: number): void {
146 LIMIT = newLimit;
147 scheduleCleanUp();
148 }
149
150 return {
151 add,

Callers

nothing calls this directly

Calls 1

scheduleCleanUpFunction · 0.85

Tested by

no test coverage detected