Skip to content

Custom Actions in GLSP #322

Answered by tortmayr
glsp-bot asked this question in Q&A
Discussion options

You must be logged in to vote

Yes you are correct. This is a know limitation of the current ´ActionProcessor' implementation. However you can work around this in your ActionHandler implementation by dispatching your response action over the 'ActionProcessor' again.
In a nutshell:
Synchrous direct response-> Return your response action in the execute method of your `ActionHandler implementation
Asynchronous response -> Dispatch/send your response action over the 'ActionProcessor' and return an empty Optional.

Replies: 11 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by tortmayr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants