def socket.file
import bend-kit-stream@0.3.1.0/stream.bend as Streamimport Base
169# ms is the unchanged per-read Wire deadline, including the one-byte cap probe.
170def socket.file(source: Socket, destination: File, tls: Bool, +chunk: U32, cap: U32, ms: U32) ->
171 IO(Socket & File & Outcome):
172 transfer.start(~Socket, ~File, ~socket.read, ~file.write,
173 chunk.valid(chunk), source, destination, tls, chunk, cap, ms)
Uses (11)
Used by (0)
No other definition uses this definition.