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

Allow to take an observable instead of a promise #3

Open
LifeIsStrange opened this issue Oct 21, 2020 · 2 comments
Open

Allow to take an observable instead of a promise #3

LifeIsStrange opened this issue Oct 21, 2020 · 2 comments

Comments

@LifeIsStrange
Copy link

LifeIsStrange commented Oct 21, 2020

Hi @MZanggl

To get ergonomic (not having to systematically convert observables to promises) support of this much-needed library on Angular it would be nice if you added support for taking observables as inputs, especially since observables are more powerful in general (beyond Angular).

@nicolidin
Copy link

I am searching for an Angular idiomatic library allowing to do the same thing as this library but without converting Observer into Promise...

@MZanggl
Copy link
Owner

MZanggl commented Oct 22, 2020

As I'm not really an Angular user myself, I have a few questions on this first.

  • Observables are not part of ECMAScript (yet). Are you specifically talking about RxJs?
  • Can you provide examples of how you are using promistate with observables currently, and how you'd like it to work instead?

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

No branches or pull requests

3 participants