% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/dispatcher.R
\name{.dispatcher_try_gate}
\alias{.dispatcher_try_gate}
\title{Dispatcher Try Gate}
\usage{
.dispatcher_try_gate(disp)
}
\arguments{
\item{disp}{External pointer to dispatcher handle.}
}
\value{
Logical \code{TRUE} if submission would not block (queued bytes below
the memory budget set on \code{.dispatcher_start()}, or unbounded), \code{FALSE}
if at or over the budget. \code{NULL} if \code{disp} is invalid.
}
\description{
Snapshot read of dispatcher capacity. Returns immediately, never blocks.
The non-blocking counterpart to \code{\link[=.dispatcher_gate]{.dispatcher_gate()}}.
}
\keyword{internal}
