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
I've already encountered multiple cases, where I need to use direct pipe, that has Output on one side and an Input on the other side. Old io had copyTo operation, but it does not fully implement what I need, because one still needs some way to create those inputs and outputs, which in most cases requires additional copy operations. I am not sure about implementation yet, so putting it here for consideration for now. Probably there should be a specialized object, let's call it a Pipe, which implements both Input and Output (or provides input and output as properties). Inside that object there should be a synchronized queue of buffers, which could be written from one side and read from the other. The Pipe also should have an option to wait for the input which probably can't be done without coroutines.
The text was updated successfully, but these errors were encountered:
We're rebooting the kotlinx-io development (see #131), all issues related to the previous versions will be closed. Consider reopening it if the issue remains (or the feature is still missing) in a new version.
I've already encountered multiple cases, where I need to use direct pipe, that has
Output
on one side and anInput
on the other side. Old io hadcopyTo
operation, but it does not fully implement what I need, because one still needs some way to create those inputs and outputs, which in most cases requires additional copy operations. I am not sure about implementation yet, so putting it here for consideration for now. Probably there should be a specialized object, let's call it aPipe
, which implements bothInput
andOutput
(or provides input and output as properties). Inside that object there should be a synchronized queue of buffers, which could be written from one side and read from the other. ThePipe
also should have an option to wait for the input which probably can't be done without coroutines.The text was updated successfully, but these errors were encountered: