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
Other Useful Business Software
99.99% Uptime for MySQL and PostgreSQL on Google Cloud
Cloud SQL Enterprise Plus gives you a 99.99% availability SLA with near-zero downtime maintenance—typically under 10 seconds. Get 2x better read/write performance, intelligent data caching, and 35 days of point-in-time recovery. Supports MySQL, PostgreSQL, and SQL Server with built-in vector search for gen AI apps. New customers get $300 in free credit.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of AutoDispose!