Skip to content

Drop background manager (in favour of a two-function fork primitive). #565

@lovelydinosaur

Description

@lovelydinosaur

I think we're running against the grain with our current read, write, background_manager API on the backends.

Switching to the same style as the hip project is using for its concurrency backends is likely a smart thing for us to do here... https://github.com/python-trio/hip/tree/master/src/urllib3/_backends

What would it take for us to switch over to a send_and_receive_for_a_while API?

@florimondmanca - I seem to remember you did some work on scoping this out at some point?

Metadata

Metadata

Labels

refactorIssues and PRs related to code refactoring

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions