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
Forever Free Full-Stack Observability | Grafana Cloud
Built on open standards like Prometheus and OpenTelemetry, Grafana Cloud includes Kubernetes Monitoring, Application Observability, Incident Response, plus the AI-powered Grafana Assistant. Get started with our generous free tier today.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of AutoDispose!