Skip to content

Mouse Tool dispatchAction change with latest glsp-client update #616

Answered by tortmayr
ivy-lli asked this question in General
Discussion options

You must be logged in to vote

You are right this looks like an over optimization to me. I the old code was only blocking in the synchronous use case. i.e. if the object to dispatch is an action we directly dispatched it and waited for the result. If the object to dispatch was a Promise of an action we did no wait for the dispatching result.
With the new code we always wait until the actionDispatcher.dispatch() method resolves. This could definitely cause the issues you described.
Even though we didn't encounter an issues in the workflow examples it might still be better to revert this change.
I'm currently also preparing an update of the @eclipse-glsp/ide module which should be ready soon.
So If you can postpone your …

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@ivy-lli
Comment options

ivy-lli Apr 14, 2022
Collaborator Author

Answer selected by ivy-lli
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants