private void OnClientMessage(object sender, JsonMessageEventArgs e) { if (!_isDataReceivedLogged) { Logger?.LogDebug($"{GetType().Name}: Buffering JSON data... [thread: {Thread.CurrentThread.ManagedThreadId}]"); _isDataReceivedLogged = true; } _buffer.Post(e.Json); }
private void OnClientMessage(object sender, JsonMessageEventArgs e) { _buffer.Post(e.Json); }