Post #2625599
2026-04-30 23:21 UTC
@mattiem@mastodon.social running a task with a timeout should be easier. It’s a good chunk of boilerplate or a package. Should be in stdlib right?
Replies (1)
-
@mattiem@mastodon.social 2026-04-30 23:24
@AshtonDev@mastodon.social many of Apple’s own APIs do not support timeout/cancellation, so this is not a straightforward thing. But something is coming: https://github.com/swiftlang/swift-evolution/blob/main/proposals/0526-deadline.md