Interface IGlspClientSession
Denotes a GLSP session
public interface IGlspClientSession
Methods
DisposeAsync()
Disposes the resources used by this client session
Task DisposeAsync()
Returns
- Task
A task to support asynchronous operations
InitializeAsync(Action<ActionMessage>, string)
Initializes the GLSP session
Task InitializeAsync(Action<ActionMessage> messageHandler, string clientId)
Parameters
messageHandler
Action<ActionMessage>A method that can be used to handle outgoing messages
clientId
stringThe Client id
Returns
- Task
A task to support asynchronous operations
ProcessAsync(BaseAction)
Processes the provided action asynchronously
Task ProcessAsync(BaseAction action)
Parameters
action
BaseActionThe action that needs to be processed
Returns
- Task
A task to support asynchronous operations