Skip to content

Create a Singleton pool service #3953

@seanmonstar

Description

@seanmonstar

In hyper-util, create a Singleton pool service which wraps an inner make-service, and queues up all calls while waiting for the one instance to be created, and then hands out clones. This pattern fits HTTP/2 well.

See more in the proposal at #3948.

Metadata

Metadata

Assignees

Labels

A-clientArea: client.C-featureCategory: feature. This is adding a new feature.K-hyper-utilCrate: hyper-util

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions