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

Last emitted value is not shown #56

Open
dzhavat opened this issue May 18, 2021 · 2 comments
Open

Last emitted value is not shown #56

dzhavat opened this issue May 18, 2021 · 2 comments
Labels
improvement This issue describes the improvement of an existing feature

Comments

@dzhavat
Copy link

dzhavat commented May 18, 2021

Version Overview

  • OS: Windows 10
  • Visual Studio Code Version: 1.56.2
  • "RxJS Debugging for Visual Studio Code" Extension: 0.1.2
  • Node.js: 12.19.1

Description

The last emitted value is not shown because the text immediately switches to "Unsubscribe". This can also be seen in the demo gif.

In the gif below, the last emitted value should be "Next: 120" but it's not visible.

How to Reproduce

  1. Run the example code as shown in the demo gif

Expected Behavior

The last emitted value should be shown as well.

Screenshots/Video

Additional Context

@swissmanu
Copy link
Owner

swissmanu commented May 19, 2021

Good point @dzhavat! Without checking, I assume the two events are emitted "too close" to each other. The result is that the first one is not rendered because the second one overrules it.

Until we have #44 implemented, what do you think about something like "Unsubscribe (Last Value: 102)"?

@dzhavat
Copy link
Author

dzhavat commented May 19, 2021

Until we have #44 implemented, what do you think about something like "Unsubscribe (Last Value: 102)"?

In order to keep it consistent with the previous messages, I will suggest "Next: 120; Unsubscribe" or "Next: 120 • Unsubscribe" (or something in that direction).

@swissmanu swissmanu added the improvement This issue describes the improvement of an existing feature label May 19, 2021
swissmanu added a commit that referenced this issue May 24, 2021
Work towards a solution for #56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
improvement This issue describes the improvement of an existing feature
Projects
None yet
Development

No branches or pull requests

2 participants