We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b1b1f20 commit 7ce79cdCopy full SHA for 7ce79cd
1 file changed
README.md
@@ -192,7 +192,7 @@ WoTHelpers.fetch("http://localhost:8080/counter").then(async (td) => {
192
const WoT = await servient.start();
193
// Then from here on you can consume the thing
194
let thing = await WoT.consume(td);
195
- thing.observeProperty("count", async (output) => { console.log("count:", await data.value()); });
+ thing.observeProperty("count", async (data) => { console.log("count:", await data.value()); });
196
for (let i = 0; i < 5; i++) {
197
await thing.invokeAction("increment");
198
}
0 commit comments