Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support RxJS as result type #31

Closed
egandro opened this issue Jan 3, 2017 · 3 comments
Closed

Support RxJS as result type #31

egandro opened this issue Jan 3, 2017 · 3 comments

Comments

@egandro
Copy link
Contributor

egandro commented Jan 3, 2017

Hi,

i'd love to have RxJS as result types in methods instead of Promise

http://reactivex.io/rxjs/

This should be configurable in the code gen or enabled by a parameter.

@lukeautry
Copy link
Owner

I think this is part of a bigger story to allow returning non-internal or non-project types, but probably won't make a specific integration for RxJS.

@nch3ng
Copy link
Contributor

nch3ng commented Aug 23, 2019

It's big, but I love the idea!

@aerabi
Copy link
Contributor

aerabi commented Oct 11, 2021

It should not be hard to implement. We can easily cast Observables into Promises:

RxJS 6:

someObservable$.toPromise();

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants