mirror of
https://github.com/logos-storage/apatheia.git
synced 2026-01-06 23:13:10 +00:00
got together
This commit is contained in:
parent
3fd3bb2f3d
commit
c95fc0875f
@ -53,6 +53,7 @@ macro asyncTask*(p: untyped): untyped =
|
|||||||
nnkBracketExpr.newTree(ident"JobResult", retType),
|
nnkBracketExpr.newTree(ident"JobResult", retType),
|
||||||
newEmptyNode()
|
newEmptyNode()
|
||||||
)
|
)
|
||||||
|
asyncParams[0] = newEmptyNode()
|
||||||
asyncParams.insert(1, jobArg)
|
asyncParams.insert(1, jobArg)
|
||||||
let fn = mkProc(procId, asyncParams, asyncBody)
|
let fn = mkProc(procId, asyncParams, asyncBody)
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user