Concurrency+Cancellation.swift Features not working as expected
pbk20191 opened this issue · comments
- Cancellation extension functions won't throw and resume immediately
- Task.sleep(nanoseconds: .max) is not enough for long running Task
- while !Task.isCancelled with Task.sleep(nanoseconds: .max) drain a lot of cpu powers