How to output a message after all the input messages were processed #3431
mihaitodor
started this conversation in
Show and tell
Replies: 0 comments
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.
-
You can use the
sequenceinput to have agenerateinput fire off a message for the last event. In the example below, the firstgenerateinput is just a placeholder for a finite input. If your input is alreadygenerate, you might be tempted to incrementcountby one to get an extra message so you don't need thesequenceinput, but that's unreliable because thegenerateinput can emit multiple messages in parallel, so your final message could land in the output before all the others have been written.Beta Was this translation helpful? Give feedback.
All reactions