October 08, 2021 [Issue 22370] New: std.concurrency.spawn* should accept noreturn callables | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=22370 Issue ID: 22370 Summary: std.concurrency.spawn* should accept noreturn callables Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: enhancement Priority: P1 Component: phobos Assignee: nobody@puremagic.com Reporter: moonlightsentinel@disroot.org spawn[Linked] currently requires the passed callable to return void. This restriction could be lifted to allow `noreturn` because both imply no actual return value. -- |
Copyright © 1999-2021 by the D Language Foundation