From 69ce89f43aa443c551250de4cc4b56ab4a07604f Mon Sep 17 00:00:00 2001 From: Jaremy Creechley Date: Tue, 13 Feb 2024 23:18:51 -0700 Subject: [PATCH] cleanup futures --- src/apatheia/jobs.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/apatheia/jobs.nim b/src/apatheia/jobs.nim index 911c9a6..cf09588 100644 --- a/src/apatheia/jobs.nim +++ b/src/apatheia/jobs.nim @@ -58,7 +58,7 @@ proc newJobQueue*[T](maxItems: int = 0, taskpool: Taskpool = Taskpool.new()): Jo result = JobQueue[T](queue: newSignalQueue[(uint, T)](maxItems), taskpool: taskpool, running: true) asyncSpawn(processJobs(result)) -macro submitMacro*(tp: untyped, jobs: untyped, exp: untyped): untyped = +macro submitMacro(tp: untyped, jobs: untyped, exp: untyped): untyped = ## modifies the call expression to include the job queue and ## the job id parameters