public void Reset(uint initialWindowSize)
 {
     _streamLevelFlowControl.Reset(initialWindowSize);
     if (_currentConnectionLevelAwaitable != null)
     {
         Debug.Assert(_currentConnectionLevelAwaitable.IsCompleted, "Should have been completed by the previous stream.");
         _currentConnectionLevelAwaitable = null;
     }
 }
 public void Reset(uint initialWindowSize)
 {
     _streamLevelFlowControl.Reset(initialWindowSize);
     if (_currentConnectionLevelAwaitable != null)
     {
         Debug.Assert(_currentConnectionLevelAwaitable.GetStatus() == ValueTaskSourceStatus.Succeeded, "Should have been completed by the previous stream.");
         _currentConnectionLevelAwaitable        = null;
         _currentConnectionLevelAwaitableVersion = -1;
     }
 }