mirror of
https://github.com/status-im/nim-chronos.git
synced 2025-01-18 23:31:13 +00:00
Fix deprecation warning.
This commit is contained in:
parent
fcfb87d2a0
commit
43ae07f20c
@ -95,7 +95,7 @@ suite "Asynchronous sync primitives test suite":
|
||||
|
||||
proc test4(): int =
|
||||
var queue = newAsyncQueue[int](queueSize)
|
||||
waitFor(task3(queue) and task4(queue))
|
||||
waitFor(allFutures(task3(queue), task4(queue)))
|
||||
result = testQueue2Result
|
||||
|
||||
proc task51(aq: AsyncQueue[int]) {.async.} =
|
||||
|
Loading…
x
Reference in New Issue
Block a user