def PipeSession.started

bend-pipe-session@0.2.0.0 · impl.bend:23

import bend-pipe-session@0.2.0.0/impl.bend as Impl
import Base

23def PipeSession.started(
24  opened: Result<&1, &1, U32 & String, U32 & (File & File)>,
25  line_cap: U32
26) -> Result<&1, &1, U32 & String, PipeSession>:
27  match opened:
28    case Fail{error}:
29      Fail{error}
30    case Done{(pid, (input, out))}:
31      Done{PipeSession{pid, input, out, line_cap}}

Uses (7)

Used by (1)