-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
GLSP-1438: Improve GLSPClient default implementations (#402)
- Introduce `onCurrentStateChanged` event for `GLSPClient` - Ensure that `start` and `initializeServer` behave as expected if they are called again while the previous promise is still pending. - Restructure members of the default implementations so that get/setters and their _property are grouped together - Introduce a dedicated namespace for the `Event` interface with utility functions to - listen on a certain event exactly once - waitUntil a certain event is fired the next time - Adapt test cases to verify new behavior Also: - Update `GLSPActionDispatcher` to use direct injection for registry instead of async provider
- Loading branch information
Showing
8 changed files
with
366 additions
and
76 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.