| 1 |
% Generated by roxygen2: do not edit by hand |
| 2 |
% Please edit documentation in R/dispatcher.R |
| 3 |
\name{.dispatcher} |
| 4 |
\alias{.dispatcher} |
| 5 |
\title{Dispatcher} |
| 6 |
\usage{ |
| 7 |
.dispatcher(sock, psock, monitor, reset, serial, envir, next_stream) |
| 8 |
} |
| 9 |
\arguments{ |
| 10 |
\item{sock}{REP socket for host communication.} |
| 11 |
|
| 12 |
\item{psock}{POLY socket for daemon communication.} |
| 13 |
|
| 14 |
\item{monitor}{Monitor object for pipe events (its CV is used for signaling).} |
| 15 |
|
| 16 |
\item{reset}{Pre-serialized connection reset error (raw vector).} |
| 17 |
|
| 18 |
\item{serial}{Serialization configuration (list or NULL).} |
| 19 |
|
| 20 |
\item{envir}{Environment containing RNG stream state.} |
| 21 |
|
| 22 |
\item{next_stream}{Function to get next RNG stream, called as next_stream(envir).} |
| 23 |
} |
| 24 |
\value{ |
| 25 |
Integer status code (0 = normal exit). |
| 26 |
} |
| 27 |
\description{ |
| 28 |
Run the dispatcher event loop for mirai task distribution. |
| 29 |
} |
| 30 |
\keyword{internal} |