MCPcopy Create free account
hub / github.com/Moddable-OpenSource/moddable / changed

Method changed

modules/network/webthings/webthings.js:33–39  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

31 trace("Web Thing API support deprecated.\n");
32 }
33 changed() {
34 if (!this.host.mdns)
35 return;
36 const thing = this.host.things.find(thing => this === thing.instance);
37 if (this.host.updateTXT(thing))
38 this.host.mdns.update(thing.service);
39 }
40 set controller(data) {
41 const description = this.constructor.description;
42 for (let i=0; i<data.length; i++) {

Callers 5

onMethod · 0.80
onMethod · 0.80
msgMethod · 0.80
leftMethod · 0.80
rightMethod · 0.80

Calls 3

findMethod · 0.80
updateTXTMethod · 0.65
updateMethod · 0.45

Tested by

no test coverage detected