forcedotcom / salesforcedx-vscode

Salesforce Extensions for VS Code
https://developer.salesforce.com/tools/vscode
BSD 3-Clause "New" or "Revised" License
940 stars 397 forks source link

chore: fire an event upon the completion of the refreshSObjects command to notify E4D #5584

Closed floralan closed 1 month ago

floralan commented 2 months ago

What does this PR do?

When the refreshSobjects command is completed successfully, it fires an event. The CommandEventDispatcher serves as a middleman to expose this event in APIs, so that E4D can subscribe to the event.

What issues does this PR fix or reference?

@W-15573955@

Functionality Before

No command completion events fired or exported in APIs

Functionality After

CommandEventDispatcher is added to export events on refreshSobjects command completion