R/getExecutor.R

Defines functions getExecutor

Documented in getExecutor

#' Get the parallel executor
#'
#' Get the executor object for safe execution of R code in parallel sections.
#'
#' @return An external pointer to be passed to \code{Rtatami::set_executor}.
#'
#' @author Aaron Lun
#' @examples
#' getExecutor()
#' 
#' @export
getExecutor <- function() {
    get_executor()
}
LTLA/beachmat documentation built on June 9, 2025, 8:59 p.m.