No description, website, or topics provided.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.idea
app
gradle/wrapper
.gitignore
README.md
build.gradle
gradle.properties
gradlew
gradlew.bat
settings.gradle

README.md

TimeoutOperator

This project is the sixth part of a series of 10 articles about RxJava operators. It contains some examples of the timeout operator that is used to issue an error or fallback to another Observable in case of a period of time elapses without any emitted items from the source. RxJava provides several variants of it.

Here is a list of all examples available in this project:

  • timeout(w/duration)
  • timeout(w/second Observable)
  • timeout(w/function)
  • timeout(w/function and a second Observable)
  • timeout(...) putting all together
  • bonus example (that shows timeout and retryWhen together)

Please, refer to this article for detailed information.

Demo

License

This project is licensed under the MIT License - see the LICENSE file for details