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