(self: Pool<A, E>)
| 832 | // The borrower a failed acquisition is delivered to: the first one asleep, |
| 833 | // unless a healthy item can serve it instead. |
| 834 | const failureRecipient = <A, E>(self: Pool<A, E>) => |
| 835 | firstHealthyAvailable(self) === undefined ? firstSleepingWaiter(self) : undefined |
| 836 | |
| 837 | // Reservations prevent reuse without extending the lifetime of borrowed items. |
| 838 | const reservations = new WeakMap<PoolItem<unknown, unknown>, number>() |
no test coverage detected