Lets say I'm observing an observable in a very specific way.
resultObservable = anotherObservable.filter(~Filter code~).take(15);
I'd like to create a custom operator that combines two predefined operators like filter, and take. Such that it behaves like
resultObservable = anotherObservable.lift(new FilterAndTake(15));
or...
resultObservable = anotherObservable.FilterAndTake(15);
So far Im comfortable with writing a very specific operator that can do this. And I can lift that operator.
But, given my currently limited knowledge of rx java, this would involve re-writing the take and filter functionality every time I need to use it in a custom operator.
Doing this is fine, But I'd rather re-use pre-existing operators that are maintained by an open source community, as well as recycle operators I've created.
Something also tells me I lack adequate knowledge about operators and subscribers.
Can someone recommend tutorials that aren't rx-java documentation?
I say this because, while docs explain general concepts, it isolates the concepts and general contexts of their functionality leaving no examples to inspire more robust applications of RX java.
So essentailly
I'm trying to encapsulate custom-dataflows into representative operators. Does this functionality exist?