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.


gaborcsardi/async documentation built on Nov. 20, 2024, 4:51 p.m.