mnem / why-sendable

Basic example showing why Sendable will be very nice when enforced in Swift 6.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

why-sendable

Basic example showing why Sendable will be very nice when enforced in Swift 6. The main branch is an example of silently broken (in Swift 5.7) actor use. Check the *-targeted and *-complete targets to see the warnings telling you why it's broken. The fixed branch shows one possible fix for this very silly app.

About

Basic example showing why Sendable will be very nice when enforced in Swift 6.

License:MIT License


Languages

Language:Swift 100.0%