def pool.jar.final

bend-kit-http@0.38.5.0 · http.bend:4385

import bend-kit-http@0.38.5.0/http.bend as Http
import Base

4385# The hops always hand the jar back; j is only the type's fallback.
4386def pool.jar.final(+enc: String, j: Jar, pr: Pool & Result<&1, &1, Err, Res> & Maybe<&2, Jar>) -> IO(Pool & Jar & Result<&1, &1, Err, Res>):
4387  (p, r, jar) = pr
4388  do IO<Pool & Jar & Result<&1, &1, Err, Res>>:
4389    d : Result<&1, &1, Err, Res> <- fetch.final(enc, r)
4390    return (p, Maybe.default(&2, Jar, jar, j), d)

Uses (14)

Used by (1)