Skip to content

Commit 34c01cf

Browse files
committed
RxJava has 314 stable operators
1 parent 1d93398 commit 34c01cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Part 3 - Taming the sequence/7. Custom operators.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Custom operators
22

3-
RxJava offers a very large [operator set](http://reactivex.io/RxJava/javadoc/rx/Observable.html). Counting all the overloads, the number of operators on Rx is over 200. A smaller number of those is essential, meaning that you cannot achieve an Rx implementation without them. Others are there just for convenience and for a more self-descriptive name. For example, if `source.First(user -> user.isOnline())` didn't exist, we would still be able to do `source.filter(user -> user.isOnline()).First()`.
3+
RxJava offers a very large [operator set](http://reactivex.io/RxJava/javadoc/rx/Observable.html). Counting all the overloads, the number of operators on Rx is over 300. A smaller number of those is essential, meaning that you cannot achieve an Rx implementation without them. Others are there just for convenience and for a more self-descriptive name. For example, if `source.First(user -> user.isOnline())` didn't exist, we would still be able to do `source.filter(user -> user.isOnline()).First()`.
44

55
Despite many convenience operators, the operator set of RxJava is still very basic. Rx offers the building blocks that you combine, but eventually you will want to define common cases that repeat within your application. in standard Java, this would be done with custom classes and methods. In Rx, you would like to design custom operators. For example, there is no operator for calculating a running average from a sequence of numbers. But you can make one yourself:
66

0 commit comments

Comments
 (0)