Wire.idle: def of bend-kit-wire@0.4.8.0 Import: import bend-kit-wire@0.4.8.0/wire.bend as Wire Lines 42-46 of bend-kit-wire@0.4.8.0/wire.bend: https://jend.leeeet.dev/read.txt?path=bend-kit-wire@0.4.8.0/wire.bend&start_line=42&end_line=46 import Base # True when no byte and no end of stream waits on sock; it reads nothing. # False on an idle connection means the peer closed it or is out of step. def idle(sock: Socket) -> IO(Socket & Bool): import "./effs/wire.c" import "./effs/wire.js" Uses (4): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=IO https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Pair https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Socket