UpdateMessageCompletion() private method

private UpdateMessageCompletion ( bool completion ) : void
completion bool
return void
Example #1
0
        internal override void SetCompletedSynchronously()
        {
            if (!_isWrite)
            {
                _pipeStream.UpdateMessageCompletion(_isMessageComplete);
            }

            TrySetResult(_numBytes);
        }