Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@astrochili
Copy link
Contributor

@astrochili astrochili commented Jan 11, 2024

Hello,

There is already a flow.until_flows() method in the library, which waits for the completion of a certain list of flow instances. But it's not comfortable to use it when the parallel flows are scattered in different functions, modules and components.

So I added the ability to specify a group_id option for flows, as well as the function flow.until_group(group_id). the most popular group_id in practice will be, hm... animations I think! 😄

I have also added examples of using flow.until_flows() and flow.until_group() to the flow.script file.

Cheers!

Copy link
Owner

@britzl britzl left a comment

Choose a reason for hiding this comment

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

Nice addition! See feedback on for loop

Copy link
Owner

@britzl britzl left a comment

Choose a reason for hiding this comment

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

Looks good!

@britzl britzl merged commit fb5b56c into britzl:master Jan 11, 2024
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