mirror of
https://github.com/status-im/nim-libp2p.git
synced 2025-01-11 13:34:26 +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