3 hours ago · Tech · hide · 0 comments

Sendable is a protocol in Swift that indicates a type is safe to share across concurrency domains like actors, tasks, and threads. When a type conforms to Sendable, the compiler verifies at compile time that passing it around can’t introduce data races. Together with the @Sendable attribute for closures, it’s one of the core building … → The post Sendable and @Sendable closures explained with code examples appeared first on SwiftLee.

No comments yet. Log in to reply on the Fediverse. Comments will appear here.