def reply

cswap-bend-cli@0.1.0.0 · http.bend:192

import cswap-bend-cli@0.1.0.0/http.bend as Http
import Base

192def reply(r: Result<&1, &1, U32 & String, U32 & (String & String)>) -> Result<&2, &2, String, Reply>:
193  match r:
194    case Fail{e}:
195      Fail{"network"}
196    case Done{v}:
197      reply.of(v)

Uses (6)

Used by (1)