rxjs-debugging-for-vscode
rxjs-debugging-for-vscode copied to clipboard
Last emitted value is not shown
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
- 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
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)"?
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).