def Drv.close

bend-kube-runtime@0.2.0.0 · src/runtime.bend:204

import bend-kube-runtime@0.2.0.0/src/runtime.bend as Runtime
import Base
import bend-kube-runtime@0.2.0.0/src/net.bend as N

204def Drv.close(s: Maybe<&1, Socket>) -> IO(Unit):
205  match s:
206    case Some{x}:
207      N.Tls.close(x)
208    case None{}:
209      IO.pure(Unit, Unit{})

Uses (6)

Used by (1)