Akka.Routing.RandomPool.WithDispatcher C# (CSharp) Method

WithDispatcher() public method

Creates a new RandomPool router with a given dispatcher id. This method is immutable and returns a new instance of the router.
public WithDispatcher ( string dispatcher ) : Akka.Routing.Pool
dispatcher string The dispatcher id used to configure the new router.
return Akka.Routing.Pool
        public override Pool WithDispatcher(string dispatcher)
        {
            return new RandomPool(NrOfInstances, Resizer, SupervisorStrategy, dispatcher, UsePoolDispatcher);
        }