Helios.Reactor.Bootstrap.ServerBootstrap.WorkerThreads C# (CSharp) Method

WorkerThreads() public method

public WorkerThreads ( int workerThreadCount ) : ServerBootstrap
workerThreadCount int
return ServerBootstrap
        public ServerBootstrap WorkerThreads(int workerThreadCount)
        {
            if (workerThreadCount < 1) throw new ArgumentException("Can't be below 1", "workerThreadCount");
            Workers = workerThreadCount;
            return this;
        }