From fc8871d774617fb8ab6a4b973569a0402abc74a9 Mon Sep 17 00:00:00 2001 From: Jaremy Creechley Date: Fri, 16 Feb 2024 14:47:16 -0700 Subject: [PATCH] setup OpenArrayHolder conversion --- src/apatheia/tasks.nim | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/apatheia/tasks.nim b/src/apatheia/tasks.nim index c2f0c0e..e0d67f1 100644 --- a/src/apatheia/tasks.nim +++ b/src/apatheia/tasks.nim @@ -5,7 +5,9 @@ import macroutils import jobs export jobs -# TODO: make these do something useful or remove them +## Tasks provide a convenience wrapper for using the jobs module. It also +## provides some extra conveniences like handling a subset of `openArray[T]` +## types in a safe manner using `OpenArrayHolder[T]` type. template convertParamType*[T](obj: OpenArrayHolder[T]): auto = static: