Impl.PipeSession.kill: def of bend-pipe-session@0.2.0.0 Import: import bend-pipe-session@0.2.0.0/impl.bend as Impl Lines 143-151 of bend-pipe-session@0.2.0.0/impl.bend: https://jend.leeeet.dev/read.txt?path=bend-pipe-session@0.2.0.0/impl.bend&start_line=143&end_line=151 import Base import bend-stdio-pipes@0.2.0.0/impl.bend as Stdio # Kills the program, whether or not it has ended, and closes its Files. def PipeSession.kill(session: PipeSession) -> IO(Unit): match session: case PipeSession{pid, input, out, _}: do IO: killed: Result<&1, &1, U32 & String, Unit> <- Stdio.kill(pid) File.close(input) File.close(out) return Unit{} Uses (11): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=File.close https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=IO https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=IO.bind https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=IO.pure https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Pair https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Result https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Unit https://jend.leeeet.dev/definition.txt?path=bend-pipe-session@0.2.0.0/impl.bend&name=PipeSession https://jend.leeeet.dev/definition.txt?path=bend-stdio-pipes@0.2.0.0/impl.bend&name=kill