A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/ReactiveX/RxJava/issues/6122 below:

Disambiguate startWith(T|Iterable<T>)? · Issue #6122 · ReactiveX/RxJava · GitHub

We were using postfixes to avoid inference problems around operator methods (such as fromIterable vs fromArray) but there is at least one operator currently, startWith, that may exhibit type ambiguity. A dedicated postfixed name should resolve the issue, such as:

  1. startWith(T) + startWithIterable(Iterable<T>)
  2. startWithItem(T) + startWith(Iterable<T>) + remove startWith(T)
  3. startWithItem(T) + startWithIterable(Iterable<T>) + remove startWith(T).

As a preparation, we can deprecate startWith(T) within 2.2.x in case option 2 or 3 is chosen.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4