* fixes #18858 [backport] * ensure async tests work with --experimental:strictEffects [backport] * ensure async tests work with --experimental:strictEffects [backport]
This commit is contained in:
parent
ca51bb8fd9
commit
3241df2a13
4 changed files with 11 additions and 3 deletions
|
|
@ -93,7 +93,7 @@ proc setCallSoonProc*(p: (proc(cbproc: proc ()) {.gcsafe.})) =
|
|||
## Change current implementation of `callSoon`. This is normally called when dispatcher from `asyncdispatcher` is initialized.
|
||||
callSoonProc = p
|
||||
|
||||
proc callSoon*(cbproc: proc ()) =
|
||||
proc callSoon*(cbproc: proc () {.gcsafe.}) =
|
||||
## Call `cbproc` "soon".
|
||||
##
|
||||
## If async dispatcher is running, `cbproc` will be executed during next dispatcher tick.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue