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

Is there any way to schedule an async function using 'threads' or 'processes'? #222

Open
lkyhfx opened this issue Oct 9, 2023 · 0 comments

Comments

@lkyhfx
Copy link

lkyhfx commented Oct 9, 2023

Currently, I have some async functions that I want to schedule, but the only viable execution seems to be async. Although these async functions are using async API, they also include CPU-intensive code, and using a separate thread or process should provide better concurrency.

There are several ways to run an async function in a new thread, such as those described in these links: Link 1, Link 2, and Link 3. None of them seem to work with the rockertry decorator.

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

1 participant