ktoso
(Konrad 'ktoso' Malawski 🐟🏴☠️)
21
That's the purpose (one of the purposes) of Task.runDetached
, which is defined in: https://github.com/DougGregor/swift-evolution/blob/structured-concurrency/proposals/nnnn-structured-concurrency.md#detached-tasks
There's also @asyncHandler which will be getting it's own proposal soon AFAIR.