MCPcopy
hub / github.com/tastejs/todomvc / createUpdateQueue

Function createUpdateQueue

examples/typescript-react/js/bundle.js:11787–11800  ·  view source on GitHub ↗
(baseState)

Source from the content-addressed store, hash-verified

11785}
11786
11787function createUpdateQueue(baseState) {
11788 var queue = {
11789 baseState: baseState,
11790 firstUpdate: null,
11791 lastUpdate: null,
11792 firstCapturedUpdate: null,
11793 lastCapturedUpdate: null,
11794 firstEffect: null,
11795 lastEffect: null,
11796 firstCapturedEffect: null,
11797 lastCapturedEffect: null
11798 };
11799 return queue;
11800}
11801
11802function cloneUpdateQueue(currentQueue) {
11803 var queue = {

Callers 2

enqueueUpdateFunction · 0.85
enqueueCapturedUpdateFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected