Akka.Streams.Implementation.Fusing.GraphInterpreter.CompleteConnection C# (CSharp) Method

CompleteConnection() private method

Register that a connection in which the given stage participated has been completed and therefore the stage itself might stop, too.
private CompleteConnection ( int stageId ) : void
stageId int
return void
        private void CompleteConnection(int stageId)
        {
            if (stageId != Boundary)
            {
                var activeConnections = _shutdownCounter[stageId];
                if (activeConnections > 0)
                    _shutdownCounter[stageId] = activeConnections - 1;
            }
        }