Canceling an ingest shouldn't return anything

This commit is contained in:
Ehmry - 2019-06-05 21:37:21 +02:00
parent fbf62c53ac
commit 7b3b25ff15
1 changed files with 1 additions and 1 deletions

View File

@ -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)