Skip to content
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

[Feature Request] Allow nodes to send NOOP output messages #221

Open
1 task done
bheijden opened this issue Sep 25, 2022 · 0 comments
Open
1 task done

[Feature Request] Allow nodes to send NOOP output messages #221

bheijden opened this issue Sep 25, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@bheijden
Copy link
Member

bheijden commented Sep 25, 2022

🚀 Feature

Allow nodes to output a NOOP message in place of an output message.

Pitch

Currently, all nodes are forced to produce outputs at a fixed rate. This is limiting because a node may not always be able to produce an output message, and would rather want to skip sending one all together in some cases. If nodes decide to skip sending their output message, nodes downstream in the graph will wait indefinitely for a message to arrive, hence deadlocking the whole graph in sync mode.

Instead, a NOOP message should be defined that nodes can send in place of an output message. This would avoid blocking downstream nodes, but also allow upstream nodes the choice to void sending an output message.

Checklist

  • I have checked that there is no similar issue in the repo (required)
@bheijden bheijden added the enhancement New feature or request label Sep 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant