Resolve bugs with deep recursion of asyncdispatch.
Introduce callSoon() implementation. Patch tests to use waitFor() instead of asyncCheck()
This commit is contained in:
parent
f4f7edf00f
commit
aba60e54d5
4 changed files with 31 additions and 10 deletions
|
|
@ -36,4 +36,4 @@ proc main {.async.} =
|
|||
discard await g()
|
||||
echo 6
|
||||
|
||||
asyncCheck main()
|
||||
waitFor(main())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue