Akka.Remote.TestKit.MultiNodeSpec.RunOn C# (CSharp) Method

RunOn() public method

Execute the given block of code only on the given nodes (names according to the `roleMap`).
public RunOn ( System.Action thunk ) : void
thunk System.Action
return void
        public void RunOn(Action thunk, params RoleName[] nodes)
        {
            if (nodes.Length == 0) throw new ArgumentException("No node given to run on.");
            if (IsNode(nodes)) thunk();
        }