nim-libp2p-experimental/libp2p/stream
Jacek Sieka ccd019b328
use stream directly in chronosstream (#163)
* use stream directly in chronosstream

for now, chronos.AsyncStream is not used to provide any features on top
of chronos.Stream, so in order to simplify the code, chronosstream can
be used directly.

In particular, the exception handling is broken in the current
chronosstream - opening and closing the stream is simplified this way as
well.

A future implementation that actually takes advantage of the AsyncStream
features would wrap AsyncStream instead as a separate lpstream
implementation, leaving this one as-is.

* work around chronos exception type issue
2020-05-08 22:10:06 +02:00
..
bufferstream.nim remove readLoop in secure protocols (#162) 2020-05-07 14:37:46 -06:00
chronosstream.nim use stream directly in chronosstream (#163) 2020-05-08 22:10:06 +02:00
lpstream.nim remove readLoop in secure protocols (#162) 2020-05-07 14:37:46 -06:00
streamseq.nim remove readLoop in secure protocols (#162) 2020-05-07 14:37:46 -06:00