mirror of
https://github.com/logos-storage/apatheia.git
synced 2026-01-05 22:43:10 +00:00
updates
This commit is contained in:
parent
3a6ef39530
commit
78d4e23f5e
@ -29,7 +29,7 @@ suite "async tests":
|
|||||||
asyncTest "test":
|
asyncTest "test":
|
||||||
|
|
||||||
echo "\nstart"
|
echo "\nstart"
|
||||||
let res = jobs.awaitJob addNums(jobs.queue, 1.0, 2.0)
|
let res = jobs.awaitJob(addNums(jobs.queue, 1.0, 2.0)).get()
|
||||||
|
|
||||||
# await sleepAsync(100.milliseconds)
|
# await sleepAsync(100.milliseconds)
|
||||||
echo "result: ", res.repr
|
echo "result: ", res.repr
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user