Right now the p6sgi.error stream is designed in terms of PSGI with the addition of a flush method which is part of Rack or one of the other specs I read at some point and seemed reasonable at some point early on, but I haven't really put much thought into it at this point.
Is the streaming API sensible and well-justified? Should flush be kept? Does anything else need to be added? Should it be refactored into something else entirely?
I've replaced the error stream with a Supply. It just seems like the right thing to do and it allows for parity between all the other streams being handled that way. I don't think I'll regret this change.
Right now the p6sgi.error stream is designed in terms of PSGI with the addition of a
flush
method which is part of Rack or one of the other specs I read at some point and seemed reasonable at some point early on, but I haven't really put much thought into it at this point.Is the streaming API sensible and well-justified? Should
flush
be kept? Does anything else need to be added? Should it be refactored into something else entirely?