MCPcopy Index your code
hub / github.com/tastejs/todomvc / cloneUpdateQueue

Function cloneUpdateQueue

examples/typescript-react/js/bundle.js:11802–11820  ·  view source on GitHub ↗
(currentQueue)

Source from the content-addressed store, hash-verified

11800}
11801
11802function cloneUpdateQueue(currentQueue) {
11803 var queue = {
11804 baseState: currentQueue.baseState,
11805 firstUpdate: currentQueue.firstUpdate,
11806 lastUpdate: currentQueue.lastUpdate,
11807
11808 // TODO: With resuming, if we bail out and resuse the child tree, we should
11809 // keep these effects.
11810 firstCapturedUpdate: null,
11811 lastCapturedUpdate: null,
11812
11813 firstEffect: null,
11814 lastEffect: null,
11815
11816 firstCapturedEffect: null,
11817 lastCapturedEffect: null
11818 };
11819 return queue;
11820}
11821
11822function createUpdate(expirationTime) {
11823 return {

Callers 2

enqueueUpdateFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected