How to task pool in vibe.d?

crimaniak crimaniak at gmail.com
Sun Jun 10 01:01:38 UTC 2018


On Saturday, 9 June 2018 at 15:11:02 UTC, Computermatronic wrote:
> I'd like to create a bunch of tasks in vibe.d, then wait for 
> them all to complete.
>
> Using std.concurrency and std.parallelism this is trivial.
>
> I could just spawn a bunch of vibe.d tasks and then iteratively 
> join them, but I would think vibe.d would provide some 
> primitives for task-pooling.
   Yes. https://vibed.org/api/vibe.core.taskpool/TaskPool



More information about the Digitalmars-d-learn mailing list