You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Noze.io has the concept of streams (GReadableStream, GWritableStream) and generators/sinks (GReadableSourceType, GReadableTargetType). The latter just read and write items while the former provide a buffer and all the event and piping logic.
That separation of concerns seems actually quite good, but also makes the solution quite a bit more complex and adds an extra layer of callback closures.
So in retrospective I think we should rather remove them and just have streams with the relevant logic embedded in subclasses.
The text was updated successfully, but these errors were encountered:
Noze.io has the concept of streams (
GReadableStream
,GWritableStream
) and generators/sinks (GReadableSourceType
,GReadableTargetType
). The latter just read and write items while the former provide a buffer and all the event and piping logic.That separation of concerns seems actually quite good, but also makes the solution quite a bit more complex and adds an extra layer of callback closures.
So in retrospective I think we should rather remove them and just have streams with the relevant logic embedded in subclasses.
The text was updated successfully, but these errors were encountered: