(self: Pool<A, E>, failures?: number)
| 1065 | // `failures` is the failure count when a borrower requested the resize or the |
| 1066 | // previous pass ran. Startup and invalidation refills omit it. |
| 1067 | const resize = <A, E>(self: Pool<A, E>, failures?: number): Effect.Effect<void> => |
| 1068 | self.state.resizeSemaphore.withPermits(1)(resizeLoop(self, failures)) |
| 1069 | |
| 1070 | const resizeLoop = <A, E>(self: Pool<A, E>, failures: number | undefined): Effect.Effect<void> => |
| 1071 | Effect.suspend(() => { |
no test coverage detected