cleanup futures

This commit is contained in:
Jaremy Creechley 2024-02-13 23:18:51 -07:00
parent d75c2d8a19
commit 69ce89f43a
No known key found for this signature in database
GPG Key ID: 4E66FB67B21D3300

View File

@ -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