class Async::HTTP::Body::Delayed
def initialize(body, delay = 0.01)
def initialize(body, delay = 0.01) super(body) @delay = delay end
def read
def read Async::Task.current.sleep(@delay) return super end
def ready?
def ready? false end
def initialize(body, delay = 0.01) super(body) @delay = delay end
def read Async::Task.current.sleep(@delay) return super end
def ready? false end