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

Add an optional callback parameter to get notified of intercepted messages #1

Merged
merged 3 commits into from
Sep 5, 2023

Conversation

janstrohbeck
Copy link
Member

@janstrohbeck janstrohbeck commented Sep 5, 2023

This allows the data source to get notified when a message was received at the orchestrator. I use this to save all received messages to JSON files, to compare the outputs of nodes across runs. Could also potentially be used for other purposes. Messages may have to be decoded in case of raw subscriptions, which is why the topic type is also passed to the callback.

Copy link
Collaborator

@ottojo ottojo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please rebase or merge develop to run CI on the PR

@ottojo ottojo merged commit 6ecc483 into develop Sep 5, 2023
3 checks passed
@ottojo ottojo deleted the feat_intercepted_callback branch September 5, 2023 15:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants