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

Multimple "action in" work only with "out" #13

Open
drozel opened this issue May 25, 2020 · 1 comment
Open

Multimple "action in" work only with "out" #13

drozel opened this issue May 25, 2020 · 1 comment

Comments

@drozel
Copy link

drozel commented May 25, 2020

Hi guys. First, many thanks for this lib, it's really useful.

I'm trying to use it to build my own logging trough all tabs. The idea is simple: I gonna put 'action' nodes everywhere I want to log something and 'action in' where I want to read logs, e.g. to put them onto the dashboard.
Here is my example: 2 log 'writers' and 2 readers putting them in log for debugging.
image

Unfortunately it doesn't work: only one 'action in' with lowest priority is called after injection:
image

It works if I put 'action out' after each 'in':
image

But in terms of 'extendability' you mention in the documentation, I can't guarantee that every user listening my events with an 'action in' puts any out after that. It means, every 'client' can break entire injection mechanism.

Or I did understand it wrongly and there is another solution?

@Steveorevo
Copy link
Owner

I see the issue here. Currently there is no way for a subsequent flows to be invoked if there is no return back to the main thread; flows won't know when the first one is 'done' and to continue to the next. A timeout could possibly be implemented; but that would degrade performance if clients don't comply otherwise.

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

No branches or pull requests

2 participants