A Disposable
is a cancellation handler representing arbitrary long running work.
This library is used in the Emitter
reactive streams library and internally within the StateTree
framework.
A Disposable
is intended to bridge different cancellable sources including:
Cancellable's
cancel()
Task's
cancel()
This package also provides a DisposableStage
which allows for grouping Disposables
and handling them as a single entity — i.e. as Combine uses Set<AnyCancellable>
and RxSwift uses DisposeBag
.
link |
Stars: 2 |
Last commit: 21 weeks ago |
Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics