We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Running an Owyl tree and something else concurrently in the same application is only possible with threading right now.
There is a safer and more modern alternative - asyncio, which is in the standard library. Lots of libraries are already compatible with it. This can also be a good time to upgrade Owyl to Python3.
It helps a lot that Asyncio's code patterns are very similar to Owyl's:
@owyl.parent_task def sequence(*children, **kwargs): final_value = True for child in children: result = yield child(**kwargs) if not result and result is not None: final_value = False break yield final_value @asyncio.coroutine def sequence(*children, **kwargs): for coroutine in children: result = yield from coroutine(**kwargs) if not result: return False return True
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Running an Owyl tree and something else concurrently in the same application is only possible with threading right now.
There is a safer and more modern alternative - asyncio, which is in the standard library. Lots of libraries are already compatible with it. This can also be a good time to upgrade Owyl to Python3.
It helps a lot that Asyncio's code patterns are very similar to Owyl's:
The text was updated successfully, but these errors were encountered: