Interface ICancellationTokenSourceProvider
Creates, encapsulates, and provides CancellationTokenSource references for the duration of the host process lifetime.
public interface ICancellationTokenSourceProvider : IDisposable
- Inherited Members
Methods
GetOrCreateHostTokenSource()
Gets or creates a CancellationTokenSource that triggers to exit the host (LSP client) application.
CancellationTokenSource GetOrCreateHostTokenSource()
Returns
GetOrCreateServerTokenSource()
Gets or creates a CancellationTokenSource that triggers to exit the connected LSP process.
CancellationTokenSource GetOrCreateServerTokenSource()