def pool.jar.final

bend-kit-http@0.38.4.0 · http.bend:4381

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

4381# The hops always hand the jar back; j is only the type's fallback.
4382def 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>):
4383  (p, r, jar) = pr
4384  do IO<Pool & Jar & Result<&1, &1, Err, Res>>:
4385    d : Result<&1, &1, Err, Res> <- fetch.final(enc, r)
4386    return (p, Maybe.default(&2, Jar, jar, j), d)

Uses (14)

Used by (1)