Untitled
import threadpool
proc echoId(): void {.thread.} =
while true:
echo getThreadId()
let thread = spawn echoId()
await thread
#[
compile with `--threads:on`
Error: expression 'spawn echoId(),' has no type (or is ambiguous)
]#
INFO