Feature/async root engine #257
Draft
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hi @chrisjpatty,
Submitting this for early review/guidance. I really wanted to use Flume, but I also really wanted to be able to make (HTTP) backend calls in the node resolvers, so I took a quick stab at making things async. I could not find any other way to make this work synchronously, the next node would always resolve before the request's response data was available.
This way it seems to work, but I have not tested it very rigurously. Planning to do this now as I integrate it further into our project at work.
My questions to you are these: am I going in the right direction? Is this a direction you are interested in for Flume, and would you be willing to share your thoughts about the idea of async Flume, or any other thing I should be mindful of?
Thank you for this package, I have always really liked it, and the edge and port UX and implementations are the best I have ever found.