class Sinatra::Helpers::Stream

def initialize(scheduler = self.class, keep_open = false, &back)

def initialize(scheduler = self.class, keep_open = false, &back)
  @back = back.to_proc
  @scheduler = scheduler
  @keep_open = keep_open
  @callbacks = []
  @closed = false
end