Skip to content

Feedback on Parallel DAG Task Executor #6287

Answered by Darksonn
felixguendling asked this question in Q&A
Discussion options

You must be logged in to vote

That seems really complicated to me. I would probably just tokio::spawn each task in your DAG and use a watch channel to wait for previous tasks to finish. example

Watch channel is suggested here as it supports multiple tasks waiting for one task, but oneshot could be used if the output is used only in one place.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@felixguendling
Comment options

@felixguendling
Comment options

Answer selected by felixguendling
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants