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 Nov. 19, 2024, 12:08 p.m.