What is the best way of packaging a RxJava operator as a Processor object?
I am writing some simple test cases for a MicroProfile Reactive Streams implementation in OpenLiberty.
I have RxJava on the classpath and want to explore packaging an RxJava operator as a Processor object that I can then imbed in my own framework's unit tests.
Similar to here: https://github.com/OpenLiberty/open-liberty/pull/6617/files#r259264238
I wanted to ask some more experienced RxJava programmers what the best option is?
Packaging up a 'missing' operator from one reactive streams framework and embedding it in another may seem an unusual thing to do but I have seen other sytems that have more than one framework (such as both reator and rxjava) in the mix and as a new framework we currently have a basic set of operators built in. So it might interesting to get an opinion from experience rather than me hacking up a Heath Robinson contraption.
Gordon.