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

Project Samples

Project Activity

See All Activity >

Categories

Live Streaming

License

Apache License V2.0

Follow AutoDispose

AutoDispose Web Site

Other Useful Business Software
Stop vibe-debugging. Icon
Stop vibe-debugging.

Plug Claude into your app's actual errors.

AppSignal's MCP server hands Claude, Cursor, or Zed your real errors, traces, and the deploy that shipped them. AI writes the fix; you review the diff.
Free 30 days.
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of AutoDispose!

Additional Project Details

Programming Language

Kotlin

Related Categories

Kotlin Live Streaming Software

Registered

2024-01-24