Replies: 1 comment
-
|
@wss29 Hi, could you elaborate a bit on the use case that you are trying to solve? If it is mostly for the Theia integration, maybe you could look into using a Theia command instead. In general, actions are handled by the action dispatchers once they are dispatched to ensure a proper sequence of actions. From a quick glance, I don't think there is a reason to prohibit async action handlers as we need to chain the promises together anyways. I opened issue #1609 to track this. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I'm trying to dispatch an action from my GLSP client to the Theia integration. However, I noticed that IActionHandlerdoes not support asynchronous operations, making it challenging to work with async functions inside it. Is there a way to handle actions asynchronously in the Theia integration?
Beta Was this translation helpful? Give feedback.
All reactions