Add events for server/controller/node/device etc #429
vilicvane
started this conversation in
Feature requests (vote via thumbs up)
Replies: 1 comment 4 replies
-
|
A next (planned) High level API will cover these cases via "event like callbacks".I already have that on my plate |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
E.g., I've encountered something like:
But it seems hard (if not impossible) to add cancel callback for this. Actually, I think this should emit an
errorevent which crashes the program if unhandled.Another case is that I would like to listen to device/node changes after server starts.
I would suggest going with the standard Node.js event listener interface, which is familiar to Node.js developers, but anything unified with error handling/crash mechanism would do.
I think those might be essential to usage in production.
Beta Was this translation helpful? Give feedback.
All reactions