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

xlwings Server: respect the sync/async definition of custom functions #2422

Open
fzumstein opened this issue Mar 25, 2024 · 0 comments
Open

Comments

@fzumstein
Copy link
Member

Currently, all custom functions run on an async server endpoint, even if they are defined as a sync function, which will block the event loop.
Instead, sync functions should behave like a sync fastapi endpoint, possibly via run_in_threadpool: tiangolo/fastapi#10768
Might need to be solved on the backend implementation though to not make this framework-dependent.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: TODO
Development

No branches or pull requests

1 participant