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

DumpWaits() public method

Debug utility to dump the "waits-on" relationships in DOT format to the console for analysis of deadlocks. Only invoke this after the interpreter completely settled, otherwise the results might be off. This is a very simplistic tool, make sure you are understanding what you are doing and then it will serve you well.
public DumpWaits ( ) : void
return void
        public void DumpWaits()
        {
            Console.WriteLine("digraph waits {");
            for (var i = 0; i < Assembly.Stages.Length; i++)
                Console.WriteLine($@"N{i} [label=""{Assembly.Stages[i]}""]");
        }
    }