mirror of
https://github.com/vacp2p/nim-libp2p-experimental.git
synced 2025-01-13 20:04:43 +00:00
add closed flag
This commit is contained in:
parent
f24c866a30
commit
6e5641dc48
@ -10,6 +10,7 @@
|
||||
import chronos
|
||||
|
||||
type ReadWrite* = ref object of RootObj
|
||||
closed*: bool
|
||||
|
||||
method read*(s: ReadWrite, n = -1): Future[seq[byte]]
|
||||
{.base, async.} =
|
||||
|
Loading…
x
Reference in New Issue
Block a user