private async Task Send(CdpRequest message) { await Task.Run(() => { if (_sendQueue.IsAddingCompleted) { return; } _sendQueue.Add(message); }); }
public async Task Execute(CdpRequest message, CancellationToken token) { await Send(message); }