MCPcopy
hub / github.com/witheve/Eve / setup

Method setup

src/runtime/databases/system.ts:116–124  ·  view source on GitHub ↗
(evaluation: Evaluation)

Source from the content-addressed store, hash-verified

114 }
115
116 setup(evaluation: Evaluation) {
117 let self = this;
118 if(this.interval !== undefined) {
119 evaluation.executeActions(this.memoryActions());
120 this.timeout = setInterval(function() {
121 evaluation.executeActions(self.memoryActions());
122 }, this.interval);
123 }
124 }
125
126 close() {
127 clearTimeout(this.timeout);

Callers

nothing calls this directly

Calls 2

memoryActionsMethod · 0.95
executeActionsMethod · 0.80

Tested by

no test coverage detected