def conn.dial.try

bend-kit-http@0.38.2.0 · http.bend:2910

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

2910def conn.dial.try(+ip: String, +port: U32, +ms: U32, +deadline: Nat) ->
2911  IO(Result<&1, &1, U32 & String, Socket>):
2912  do IO<Result<&1, &1, U32 & String, Socket>>:
2913    now : Nat <- IO.now()
2914    conn.dial.with(ip, port, ms, deadline, now, U32.is_zero(ms))

Uses (11)

Used by (1)