feat(pool): add a Singleton pool type (#226)
This creates 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. The current implementation mirrors much of how the legacy pool handles connecting with HTTP/2 prior knowledge. Closes https://github.com/hyperium/hyper/issues/3953
S
Sean McArthur committed
9b1008d96bbc37546cca7ee4bd7e1701328f75e2
Parent: 71ef2fc
Committed by GitHub <noreply@github.com>
on 12/2/2025, 4:11:50 PM