On Friday, 21 August 2015 at 14:35:53 UTC, Chris wrote:
On Friday, 21 August 2015 at 12:59:09 UTC, John Colvin wrote:
[...]
Wouldn't it be easier to have a library function that can empty
the mailbox immediately? It's a waste of time to have all items
in the mailbox crash against a wall, before you can go on as in
[
item1 // cancel
item2 ===> do nothing return;
item3 ===> do nothing return;
]
In parts I find std.concurrency lacking. Simple things
sometimes need workarounds.
yes, it would be better. Please file an enhancement request:
https://issues.dlang.org