Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[JS] fix: Fixed stuck typing indicator issue (#2286)
## Linked issues closes: #2285 ## Details The stuck typing indicator appears to occur when we send a `message` activity while we're in the middle of sending a `typing` activity. The fix is to delay the outgoing `message` activity until after we finish sending the `typing` activity. #### Change details > Created a separate promise variable so that we can have two threads waiting for the same operation to complete. This lets us block the outgoing message activity until after the typing activity finishes delivering. ## Attestation Checklist - [x] My code follows the style guidelines of this project - I have checked for/fixed spelling, linting, and other errors - I have commented my code for clarity - I have made corresponding changes to the documentation (updating the doc strings in the code is sufficient) - My changes generate no new warnings - I have added tests that validates my changes, and provides sufficient test coverage. I have tested with: - Local testing - E2E testing in Teams - New and existing unit tests pass locally with my changes
- Loading branch information