% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/nbrOfWorkers.R
\name{nbrOfWorkers.BatchtoolsFutureBackend}
\alias{nbrOfWorkers.BatchtoolsFutureBackend}
\title{Gets the number of batchtools workers}
\usage{
\method{nbrOfWorkers}{BatchtoolsFutureBackend}(evaluator)
}
\arguments{
\item{evaluator}{A future evaluator function.
If NULL (default), the current evaluator as returned
by \code{\link[future:plan]{future::plan()}} is used.}
}
\value{
A number in \eqn{[1, Inf]}.
}
\description{
Tries to infer the total number of batchtools workers.  This is
done using various ad-hoc procedures based on code inspection
of batchtools itself.
}
\keyword{internal}
