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: [email protected]
Reporter: [email protected]
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.
--
