mirror of
https://github.com/codex-storage/nim-codex.git
synced 2025-01-31 15:16:12 +00:00
fix results stuff
This commit is contained in:
parent
0bbd558ee7
commit
76a9d7bda2
@ -12,7 +12,7 @@ const
|
||||
proc awaitThreadResult*[T](signal: ThreadSignalPtr, handle: Flowvar[T]): Future[?!T] {.async.} =
|
||||
await wait(signal)
|
||||
|
||||
proc closeSig() =
|
||||
template closeSig() =
|
||||
let sigRes = signal.close()
|
||||
if sigRes.isErr:
|
||||
return failure(sigRes.error())
|
||||
|
Loading…
x
Reference in New Issue
Block a user