zostay / RakuWAPI

The Web API for Raku (RakuWAPI)
Artistic License 2.0
24 stars 5 forks source link

Output supply should be closed by server, not app #23

Closed zostay closed 8 years ago

zostay commented 9 years ago

I have been doing some thing about the details of the output stream life cycle. I believe the application should be responsible for emitting all its data and then signaling the end with either done or a quit signal. It should not close the Supply. The server signals receipt of the done/quit signal by closing the Supply. I could be convinced otherwise, but I think this makes the most sense.

zostay commented 8 years ago

I think recent changes to the way supplies work make these thoughts irrelevant.