Postgres.pool.put: def of bend-kit-postgres@0.3.0.0 Import: import bend-kit-postgres@0.3.0.0/postgres.bend as Postgres Lines 660-664 of bend-kit-postgres@0.3.0.0/postgres.bend: https://jend.leeeet.dev/read.txt?path=bend-kit-postgres@0.3.0.0/postgres.bend&start_line=660&end_line=664 import Base import bend-kit-postgres@0.3.0.0/codec.bend as Codec # Gives c back for reuse. A connection with unread bytes is out of step, and one inside a # transaction would leak it to the next user, so either is closed instead. def pool.put(p: Pool, c: Conn) -> IO(Pool): Conn{+tls, sock, rd, +key, +ms, +status} = c pool.left(p, tls, sock, key, ms, status, Codec.pending(rd)) Uses (5): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=IO https://jend.leeeet.dev/definition.txt?path=bend-kit-postgres@0.3.0.0/codec.bend&name=pending https://jend.leeeet.dev/definition.txt?path=bend-kit-postgres@0.3.0.0/postgres.bend&name=Conn https://jend.leeeet.dev/definition.txt?path=bend-kit-postgres@0.3.0.0/postgres.bend&name=Pool https://jend.leeeet.dev/definition.txt?path=bend-kit-postgres@0.3.0.0/postgres.bend&name=pool.left