MCPcopy Create free account
hub / github.com/witheve/Eve / unregister

Method unregister

src/runtime/databases/browserSession.ts:89–97  ·  view source on GitHub ↗
(evaluation: Evaluation)

Source from the content-addressed store, hash-verified

87 }
88
89 unregister(evaluation: Evaluation) {
90 let ix = this.evaluations.indexOf(evaluation);
91 if(ix > -1) {
92 this.evaluations.splice(ix, 1);
93 }
94 if(this.evaluations.length === 0) {
95 this.client.send(JSON.stringify({type: "result", insert: [], remove: this.index.toTriples()}))
96 }
97 }
98}

Callers

nothing calls this directly

Calls 2

sendMethod · 0.65
toTriplesMethod · 0.45

Tested by

no test coverage detected