def Pool.put
import bend-kube-runtime@0.2.0.0/src/client.bend as Clientimport 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)