treble-snake / async-optional

Optional implementation inspired by java.util.Optional. Works with Promises and async functions.
MIT License
17 stars 0 forks source link

Support of rxjs Observable #4

Open sayonara-sama opened 5 years ago

sayonara-sama commented 5 years ago

It would be great to have support for Observable for rxjs as well.

treble-snake commented 5 years ago

I doubt it would be done in observable future, but you are always welcome to make a Pull Request.

treble-snake commented 5 years ago

@sayonara-sama Nevertheless, could you please approximately describe desired interfaces and maybe some examples of use cases?

sayonara-sama commented 5 years ago

@treble-snake Well, it's pretty much the same as for promises, but for observables. I imagine it with the same interfaces, but inside it should expect Observable object and subscribe to it's evens: next, error etc. Please let me know if you need some more details.