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

Need to identify operators that don't support Promises and Should #1246

Closed
benlesh opened this issue Jan 25, 2016 · 3 comments
Closed

Need to identify operators that don't support Promises and Should #1246

benlesh opened this issue Jan 25, 2016 · 3 comments

Comments

@benlesh
Copy link
Member

benlesh commented Jan 25, 2016

As noted in #1245, there are probably many operators that take functions that return Observables, and should support returning Promises, Arrays, or "observablesque" objects.

I'd greatly appreciate anyone with free time to comb the operators and identify the ones that are missing this feature. Then we can list them out here and create new, separate issues for each one of them.

@staltz
Copy link
Member

staltz commented Jan 29, 2016

I also noticed this while updating the documentation for operators at reactivex.io. I went through the operators and identified these:

  • buffer (maybe supports Promises, but maybe needs types updated)
  • bufferToggle (!!)
  • bufferWhen (maybe supports Promises, but maybe needs types updated)
  • catch (!!)
  • concat (maybe supports Promises, but maybe needs types updated)
  • concatAll
  • concatMap (maybe supports Promises, but needs types updated)
  • concatMapTo (maybe supports Promises, but needs types updated)
  • debounce
  • distinct (the flushes parameter)
  • distinctKey (the flushes parameter)
  • exhaust
  • exhaustMap (maybe supports Promises, but needs types updated)
  • expand (maybe supports Promises, but needs types updated)
  • merge (maybe supports Promises, but maybe needs types updated)
  • mergeAll
  • mergeMap (maybe supports Promises, but needs types updated)
  • mergeMapTo (maybe supports Promises, but needs types updated)
  • mergeScan (maybe supports Promises, but needs types updated)
  • race (maybe supports Promises, but needs types updated)
  • retryWhen (maybe supports Promises, but needs types updated)
  • sample (maybe supports Promises, but needs types updated)
  • skipUntil (maybe supports Promises, but needs types updated)
  • switch
  • switchMap (maybe supports Promises, but needs types updated)
  • switchMapTo (maybe supports Promises, but needs types updated)
  • takeUntil (maybe supports Promises, but needs types updated)
  • throttle
  • timeoutWith (maybe supports Promises, but needs types updated)
  • window (!!)
  • windowToggle (maybe supports Promises, but needs types updated)
  • windowWhen (maybe supports Promises, but needs types updated)
  • withLatestFrom (maybe supports Promises, but needs types updated)
  • zip (maybe supports Promises, but needs types updated)
  • zipAll

@benlesh
Copy link
Member Author

benlesh commented Jun 17, 2016

I believe we've already gone through and done all of this. Closing for now. We can open new issues on a per-operator basis.

@lock
Copy link

lock bot commented Jun 7, 2018

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators Jun 7, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants