AsyncSequence cancellation behaviour
Swift Forums
AsyncSequence cancellation behaviour
AsyncSequence | Apple Developer Documentation in The docs it does not say what the user's responsibility is for cancellation of the task. From reading other posts it seems like AsyncSequences are supposed to terminate the sequence so the user does not need to handle it themselves, but, unless I'm missing something, the doc feels like it's missing discussing this part especially as Task cancellation is cooperative. (hypothetically, some implementation of the AsyncSequence can just ignore the can...
0 comments
No comments yet.