.NET Reactive Extensions has a neat method to generate sequences using corecursion which is called Observable.Generate.
Is there analogues method in RxJava that allows data generation via corecursion? If not, could it be implemented based on existing methods?
It's not an exact match but we have
SyncOnSubscribe
(andAsyncOnSubscriber
) that can generate values, for example: