6 references to _cancelSource
Microsoft.CommonLanguageServerProtocol.Framework.Package (6)
RequestExecutionQueue.cs (6)
86
public CancellationToken CancellationToken =>
_cancelSource
.Token;
168
var combinedTokenSource =
_cancelSource
.Token.CombineWith(requestCancellationToken);
199
while (!
_cancelSource
.IsCancellationRequested)
206
queueItem = await _queue.DequeueAsync(
_cancelSource
.Token).ConfigureAwait(false);
208
catch (OperationCanceledException ex) when (ex.CancellationToken ==
_cancelSource
.Token)
440
_cancelSource
.Cancel();