def ct_kind

bendonnect-rpc@0.1.0.0 · src/protocol.bend:120

import bendonnect-rpc@0.1.0.0/src/protocol.bend as Protocol
import Base

120def ct_kind(c: Ct) -> CallKind:
121  match c:
122    case Ct{s, k}:
123      match s:
124        case True{}:
125          Stream{}
126        case False{}:
127          Unary{}

Uses (3)

Used by (1)