(connection: PgConnection.PgConnection)
| 415 | return Effect.scoped(Effect.flatMap(get, f)) |
| 416 | } |
| 417 | const run = (connection: PgConnection.PgConnection) => |
| 418 | connects.has(connection) ? Effect.andThen(reportConnect(connection), f(connection)) : f(connection) |
| 419 | if (connectionTTL === undefined) { |
| 420 | return borrow("any", (leave) => |
| 421 | Pool.use(pool, (connection) => { |