call_function: Asynchronous function call, in a worker pool

View source: R/call-function.R

call_functionR Documentation

Asynchronous function call, in a worker pool

Description

The function will be called on another process, very much like callr::r().

Usage

call_function(func, args = list())

Arguments

func

Function to call. See also the notes at callr::r().

args

Arguments to pass to the function. They will be copied to the worker process.

Value

Deferred object.


r-lib/async documentation built on March 24, 2024, 6:20 p.m.