Reads a response streamed with Flarum\Http\EventStream, handing over each
event as its line arrives. app.request can't be used for one: it gives
the body only once it's complete.
It's a chunk of its own, loaded the first time it's imported:
Resolves once the response has ended. Whether the work finished is for the
events to say: a dropped connection ends a response just as finished work
does.
Reads a response streamed with
Flarum\Http\EventStream, handing over each event as its line arrives.app.requestcan't be used for one: it gives the body only once it's complete.It's a chunk of its own, loaded the first time it's imported:
Resolves once the response has ended. Whether the work finished is for the events to say: a dropped connection ends a response just as finished work does.