We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
RxJS version: 5.3.0
Code to reproduce:
Rx.Observable.of('foo') .delayWhen(function() { return Rx.Observable.of('bar'); }) .subscribe({ next: function(x) { console.log('next'); }, complete: function() { console.log('complete'); } });
Expected behavior: Output 'next' 'complete'
'next'
'complete'
Actual behavior: Output 'next'
Additional information: If you substitute delayWhen(...) for say delay(1000) in the above, it will emit complete as expected.
delayWhen(...)
delay(1000)
Here is a jsFiddle using https://unpkg.com/rxjs/bundles/Rx.min.js showcasing the issue.
The text was updated successfully, but these errors were encountered:
fix(delayWhen): correctly handle synchronous duration observable
d3d0371
- closes ReactiveX#2587
9c8061d
fix(delayWhen): correctly handle synchronous duration observable (#2589)
695f280
- closes #2587
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.
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
RxJS version:
5.3.0
Code to reproduce:
Expected behavior:
Output
'next'
'complete'
Actual behavior:
Output
'next'
Additional information:
If you substitute
delayWhen(...)
for saydelay(1000)
in the above, it will emit complete as expected.Here is a jsFiddle using https://unpkg.com/rxjs/bundles/Rx.min.js showcasing the issue.
The text was updated successfully, but these errors were encountered: