-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
feat: add cancellable queries #13178
Conversation
@maartenbreddels I think this should work. |
Nice! I’ll take a look after the hollidays, certainly makes it fit well with solara ! |
Perhaps an even clearer parameter name for this would be Maybe the returned object could be named |
Suppose you did sleep 60. What's ipq return before a minute is up? I'm imagining something like
|
|
I feel that that's almost a sentence that belongs in the docstring. |
6800284
to
33fb891
Compare
This gives you an
InProcessQuery
handler that allows you to cancel the query