On Saturday, 17 November 2018 at 08:17:36 UTC, Paul Backus wrote:

You could run the calculation in another thread and use std.concurrency.receiveTimeout [1] to stop waiting for the result after a certain amount of time.

[1] https://dlang.org/phobos/std_concurrency.html#.receiveTimeout

Ah... yes. Thanks!

Reply via email to