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

Introduce run.cpu_bound and run.io_bound #1656

Merged
merged 5 commits into from
Sep 21, 2023
Merged

Introduce run.cpu_bound and run.io_bound #1656

merged 5 commits into from
Sep 21, 2023

Conversation

falkoschindler
Copy link
Contributor

This PR introduces a run module for running IO-bound and CPU-bound functions (see #1609).
It's still work in progress, needs documentation and testing.
I'm also unsure about the filename, since run.py is already taken. So I moved the code to run_executor.py and allow importing it like from nicegui import run.

@falkoschindler falkoschindler added this to the 1.3.15 milestone Sep 19, 2023
@falkoschindler falkoschindler added the enhancement New feature or request label Sep 19, 2023
@natankeddem
Copy link
Contributor

What about naming it exec.py?

@rodja rodja self-requested a review September 21, 2023 04:13
@falkoschindler falkoschindler marked this pull request as ready for review September 21, 2023 07:09
@falkoschindler falkoschindler merged commit 9d509e6 into main Sep 21, 2023
3 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants