目录
目录README.md

Disposable 🗑️

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.

Purpose

A Disposable is intended to bridge different cancellable sources including:

  • Combine’s Cancellable's cancel()
  • Swift’s 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.

关于
87.0 KB
邀请码
    Gitlink(确实开源)
  • 加入我们
  • 官网邮箱:gitlink@ccf.org.cn
  • QQ群
  • QQ群
  • 公众号
  • 公众号

©Copyright 2023 CCF 开源发展委员会
Powered by Trustie& IntelliDE 京ICP备13000930号