def finish

bend-kit-gateway@0.3.0.0 · gateway.bend:124

import bend-kit-gateway@0.3.0.0/gateway.bend as Gateway
import Base

124# Stores what the fetch did and gives its unit back.
125def finish(gate: Gate, p: Pending, u: Upstream) -> Finish:
126  Gate{pool, held, cache} = gate
127  give(pool, held, settle(cache, p, u))

Uses (6)

Used by (0)

No other definition uses this definition.