class Async::HTTP::Body::Pipe
def initialize(input, output = Writable.new, task: Task.current)
def initialize(input, output = Writable.new, task: Task.current) @input = input @output = output head, tail = ::Socket.pair(Socket::AF_UNIX, Socket::SOCK_STREAM) @head = ::IO::Stream::Buffered.new(head) @tail = tail @reader = nil @writer = nil task.async(transient: true, &self.method(:reader)) task.async(transient: true, &self.method(:writer)) end