The message read "the handler of TurnOn is a function", which states the
opposite of what went wrong. It is now
on("TurnOff") got undefined as the handler: pass a function that takes
the context of the directive
under the endpoint and the interface, as every DeclarationError.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
|
||
|---|---|---|
| .. | ||
| compat | ||
| device | ||
| messages | ||
| registry | ||
| Alex2Node.js | ||
| dispatcher.js | ||
| index.js | ||
| topics.js | ||
| transport.js | ||