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

Complete() private method

private Complete ( int connection ) : void
connection int
return void
        internal void Complete(int connection)
        {
            var currentState = PortStates[connection];
            if (IsDebug) Console.WriteLine($"{Name}   Complete({connection}) [{currentState}]");
            PortStates[connection] = currentState | OutClosed;
            if ((currentState & (InClosed | Pushing | Pulling | OutClosed)) == 0)
                Enqueue(connection);
            if ((currentState & OutClosed) == 0)
                CompleteConnection(Assembly.OutletOwners[connection]);
        }