Table of Contents

Interface ICancellationTokenSourceProvider

Namespace
RDCore.SDK.Client
Assembly
RDCore.SDK.dll

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

CancellationTokenSource

GetOrCreateServerTokenSource()

Gets or creates a CancellationTokenSource that triggers to exit the connected LSP process.

CancellationTokenSource GetOrCreateServerTokenSource()

Returns

CancellationTokenSource