Automatic binding+disposal of RxJava streams. AutoDispose is an RxJava 2+ tool for automatically binding the execution of RxJava streams to a provided scope via disposal/cancellation. Often (especially in mobile applications), Rx subscriptions need to stop in response to some event (for instance, when Activity#onStop() executes in an Android app). In order to support this common scenario in RxJava 2, we built AutoDispose.
Features
- Completable (as a scope)
- Modeled after RxJava’s plugins
- Customize the behavior of AutoDispose
- Documentation available
- Examples available
- Customize how main thread checks work
Categories
Live StreamingLicense
Apache License V2.0Follow AutoDispose
You Might Also Like
MongoDB Atlas runs apps anywhere
MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of AutoDispose!