manolofdez / AsyncBluetooth

A small library that adds concurrency to CoreBluetooth APIs.
MIT License
160 stars 30 forks source link

[Feature] Partial strict concurrency support #56

Closed manolofdez closed 1 month ago

manolofdez commented 1 month ago

Address the warnings resulting from toggling Strict concurrency checking to Complete. Unfortunately we rely on some CoreBluetooth data types which don't support strict concurrency. In order to avoid significant rewrites, we opted for hiding the Sendable warnings from CoreBluetooth behind the @preconcurrency attribute (for now).

Note this PR contains breaking changes around accessing the event publishers.