Creating child task after a task has been cancelled

This is not a child task, so no.

For better or worse that's the spellings we arrived at; so no, unstructured tasks are not created cancelled.


Child tasks are:

async let ... = { child task is here }
withTaskGroup ... { group in group.addTask { child task is here } } 

Unstructured tasks are:

Task {} 
Task.detached {} 
2 Likes