Closed kwonoj closed 8 years ago
Debatable. As long as it doesn't affect performance, I'm okay with it.
forkJoin
should also accept "lowercase-o" observables... Meaning any object with an [Symbol.observable]
method on it that returns an object with a subscribe
function that accepts an observer
.
I'll try to add to accept promise
as start with performance benchmarking.
@kwonoj I don't recall.. did this get done?
It's WIP in my stash, but haven't completed yet while creating other PRs. I'll complete and create PR.
No hurry. Just checking
RxJS4's
forkJoin
accepts promise as well as observablesargs (Arguments | Array): An array or arguments of Observable sequences or Promises to collect the last elements for.
while current implementation does not. Is this intended design to drop promise? If promise can be accepted, PR https://github.com/ReactiveX/RxJS/pull/506 might need to be updated to include it as well as updating implementation.