Join GitHub today
WIP: Fix Stream API #1114
As discussed in #1035
Plan is to create a better abstraction of Streaming Responses. Most web servers get away with chunked responses, but fail (except EventMachine) to keep the stream open. Most web servers don't have an event loop or abstraction to pass tasks to its workers (when they have them), and only rely on the rack hijack API to "delegate" this task to another component.
This means (IMO) that the Stream class must accomodate the common use case, that means, it has to be able to:
Still in progress