MCPcopy Index your code
hub / github.com/witheve/Eve / queue

Method queue

src/runtime/runtime.ts:193–208  ·  view source on GitHub ↗
(commit)

Source from the content-addressed store, hash-verified

191 }
192
193 queue(commit) {
194 if(!commit.length) return;
195 if(!this.queued) {
196 let self = this;
197 process.nextTick(() => {
198 let commits = [];
199 for(let queued of self.commitQueue) {
200 for(let field of queued) {
201 commits.push(field);
202 }
203 }
204 this.fixpoint(new Changes(this.multiIndex), this.blocksFromCommit(commits));
205 });
206 }
207 this.commitQueue.push(commit);
208 }
209
210 createChanges() {
211 return new Changes(this.multiIndex);

Callers 1

onFixpointMethod · 0.80

Calls 2

fixpointMethod · 0.95
blocksFromCommitMethod · 0.95

Tested by

no test coverage detected