def Pool.put

bend-kube-runtime@0.2.0.0 · src/client.bend:422

import bend-kube-runtime@0.2.0.0/src/client.bend as Client
import Base

422# Returns a connection to the pool; a full pool closes it instead.
423def Pool.put(+pool: Chan(Socket), s: Socket) -> IO(Unit):
424  IO.bind(Poll<&1, &1, Result<&1, &1, Socket, Unit>, Socket>, Unit,
425    Chan.try_send(Socket, pool, s, 0), Pool.put.done)

Uses (9)

Used by (1)