Releases: GoodHatsLLC/Disposable
Releases · GoodHatsLLC/Disposable
v1.0.0
v0.8.0: API & Swift version updates
- Global disposable stages are now reset via Disposables.stage - Builder methods moved to Disposables - AnyDisposable -> AutoDisposable - .erase() -> .auto() - AutoDisposables can now *lose* their ownership via `take()` - They can be tested for ownership with `.hasOwnership` - DisposableStages take ownership from AutoDisposables maintaining previous behavior. - ErasedDisposable introduced and does not have ownership / auto-dispose. - created via .erased()
v0.7.0
Full Changelog: v0.6.2...v0.7.0
linux compatibility
- add
withLock
function otherwise absent without dedicated imports - remove USEC_PER_SEC use
- replace autoreleasepool (which apparently exists only for obj-c compatibility) use with closure scopes.
Synchronization support
- Add synchronization
- Add Swift Concurrency sendability annotations