% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/dispatcher.R
\name{.dispatcher_capacity}
\alias{.dispatcher_capacity}
\title{Dispatcher Capacity}
\usage{
.dispatcher_capacity(disp)
}
\arguments{
\item{disp}{External pointer to dispatcher handle.}
}
\value{
Named numeric vector of length 3: \strong{used} (current) and \strong{peak}
(high-watermark) usage, and \strong{capacity} (the \code{capacity} set on
\code{\link[=.dispatcher_start]{.dispatcher_start()}}, \code{NA_real_} if unset/unbounded), all in MB.
\code{NA_real_} in each slot if \code{disp} is invalid.
}
\description{
Read current and peak queued task payload usage at dispatcher, plus the
configured capacity, in MB (metric, 1 MB = 1,000,000 bytes).
}
\keyword{internal}
