Hello,
I'm a complete newbie to vibe.d, although I use most other RejectedSoftware stuff :D
With runTask
we get a Task in return, and we can join
it and such. This is not the case with runWorkerTaskDist
.
import std.stdio;
import vibe.core.core;
void main()
{
enableWorkerThreads();
runWorkerTaskDist({
writeln("Hello world!");
});
}
It has no return type. So how can we join it so above example terminates fully?