% Generated by roxygen2: do not edit by hand % Please edit documentation in R/dispatcher.R \name{.dispatcher} \alias{.dispatcher} \title{Dispatcher} \usage{ .dispatcher(sock, psock, monitor, reset, serial, envir, next_stream) } \arguments{ \item{sock}{REP socket for host communication.} \item{psock}{POLY socket for daemon communication.} \item{monitor}{Monitor object for pipe events (its CV is used for signaling).} \item{reset}{Pre-serialized connection reset error (raw vector).} \item{serial}{Serialization configuration (list or NULL).} \item{envir}{Environment containing RNG stream state.} \item{next_stream}{Function to get next RNG stream, called as next_stream(envir).} } \value{ Integer status code (0 = normal exit). } \description{ Run the dispatcher event loop for mirai task distribution. } \keyword{internal}