def abort

bend-kit-postgres@0.3.0.0 · postgres.bend:107

import bend-kit-postgres@0.3.0.0/postgres.bend as Postgres
import Base

107def abort(-A: Type, c: Conn, why: Failure) -> IO(Result<&1, &1, Failure, A>):
108  do IO<Result<&1, &1, Failure, A>>:
109    close(c)
110    return Fail{why}

Uses (8)

Used by (11)