def split_q.pick

bendonnect-rpc@0.1.0.0 · src/transport/server.bend:213

import bendonnect-rpc@0.1.0.0/src/transport/server.bend as Server
import Base

213def split_q.pick(hit: Bool, +c: U32, +t: String, rest: Unit -> String & String) -> String & String:
214  match hit:
215    case True{}:
216      ("", t)
217    case False{}:
218      split_q.cons(c, rest(Unit{}))

Uses (7)

Used by (1)