MCPcopy Create free account
hub / github.com/EvoMap/evolver / subscribe

Method subscribe

src/proxy/task/monitor.js:46–57  ·  view source on GitHub ↗
(filters = [])

Source from the content-addressed store, hash-verified

44 }
45
46 subscribe(filters = []) {
47 this.store.setState('task_subscription', JSON.stringify({
48 enabled: true,
49 filters,
50 subscribed_at: new Date().toISOString(),
51 }));
52 const result = this.store.send({
53 type: 'task_subscribe',
54 payload: { capability_filter: filters },
55 });
56 return result;
57 }
58
59 unsubscribe() {
60 this.store.setState('task_subscription', JSON.stringify({

Callers 2

buildRoutesFunction · 0.80

Calls 2

setStateMethod · 0.80
sendMethod · 0.45

Tested by

no test coverage detected