simplifying

This commit is contained in:
Jaremy Creechley 2023-09-25 22:53:28 -07:00
parent 53eedd946c
commit 8e573bdfc7
No known key found for this signature in database
GPG Key ID: 4E66FB67B21D3300

View File

@ -90,7 +90,7 @@ template dispatchTask(self: ThreadDatastore,
of Sqlite:
var ds = self.backend.sql
proc runTask() =
`fn`(addr ctx, ds)
self.tp.spawn `fn`(addr ctx, ds)
runTask()
await wait(ctx.signal)