IHostTaskExecutor Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A task executor that can be used to execute LSP tasks in the host environment.
public interface IHostTaskExecutor
type IHostTaskExecutor = interface
Public Interface IHostTaskExecutor
Methods
| ExecuteTaskAsync<TOutput>(Func<Task<TOutput>>, LanguageServerOperationContext, CancellationToken, TOutput) |
Executes a task in host environment if host task executor is available. This is critical to trust between LSP and its hosts. LSP should correctly use this and wrap particulat steps that need to run in host using these methods. |