Canceling an ingest shouldn't return anything
This commit is contained in:
parent
fbf62c53ac
commit
7b3b25ff15
|
@ -157,7 +157,7 @@ proc read*(s: BlobStream; buf: pointer; len: Natural): Future[int] =
|
|||
assert(not s.readImpl.isNil)
|
||||
s.readImpl(s, buf, len)
|
||||
|
||||
proc cancel*(s: IngestStream): tuple[id: BlobId, size: BiggestInt] =
|
||||
proc cancel*(s: IngestStream) =
|
||||
## Cancel and close ingest stream
|
||||
assert(not s.cancelImpl.isNil)
|
||||
s.cancelImpl(s)
|
||||
|
|
Loading…
Reference in New Issue