def recv

bolt@1.27.0.0 · src/lsp/transport/service.bend:10

import bolt@1.27.0.0/src/lsp/transport/service.bend as Service
import Base

10# the next message's body; None when the peer is gone
11def recv(-H: Type, tt: Transport<H>, hh: H) -> IO(H & Maybe<&2, String>):  # noqa: L001 effect accessor
12  Transport{r, s} = tt
13  r(hh)

Uses (5)

Used by (1)