-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can not send multiple sequential messages #18
Comments
The code for this node has not been updated since several years |
The exec node will allow sending multiple messages while it's running. This node needs to be updated to support the same type of functionality. |
I need to write a script that continuously sends out messages every second that contain generated data. This module will only send out messages after the entire script has completed. For example, this fails as it waits continually:
Is there a way to send messages continually? In my case, the somefunc() takes a long time to set up external hardware devices before it can retrieve data. It should be started only once to initialize everything then only queried for data when needed which would then send a new msg.
I think the way that code works now, I would have to run the setup of my instrumentation and all the overhead that comes with that every time I need a message sent. Is there a way to solve this?
Ideally, I should be able to send messages in a loop and have them sent out immediately when node.send() is called in which case, this node would never actually exit; it would just continually send messages.
The text was updated successfully, but these errors were encountered: