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

Reponse.on_done() mechanism #653

Closed
simonw opened this issue Dec 1, 2024 · 0 comments
Closed

Reponse.on_done() mechanism #653

simonw opened this issue Dec 1, 2024 · 0 comments
Labels
enhancement New feature or request python-api

Comments

@simonw
Copy link
Owner

simonw commented Dec 1, 2024

I found myself wanting to run some code once a Response had been completed, for both sync and async models.

A response.on_done(callback) mechanism turned out to be a neat way to implement this.

@simonw simonw added enhancement New feature or request python-api labels Dec 1, 2024
@simonw simonw closed this as completed in f9af563 Dec 1, 2024
simonw added a commit that referenced this issue Dec 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request python-api
Projects
None yet
Development

No branches or pull requests

1 participant