UniprocessFuture-class: An uniprocess future is a future whose value will be resolved...

UniprocessFuture-classR Documentation

An uniprocess future is a future whose value will be resolved synchronously in the current process

Description

An uniprocess future is a future whose value will be resolved synchronously in the current process

Usage

UniprocessFuture(expr = NULL, substitute = TRUE, envir = parent.frame(), ...)

SequentialFuture(
  expr = NULL,
  envir = parent.frame(),
  substitute = TRUE,
  lazy = FALSE,
  globals = TRUE,
  ...
)

Arguments

expr

An R expression.

substitute

If TRUE, argument expr is substitute():ed, otherwise not.

envir

The environment from where global objects should be identified.

...

Additional named elements passed to Future().

lazy

If FALSE (default), the future is resolved eagerly (starting immediately), otherwise not.

globals

(optional) a logical, a character vector, or a named list to control how globals are handled. For details, see section 'Globals used by future expressions' in the help for future().

Value

UniprocessFuture() returns an object of class UniprocessFuture.

SequentialFuture() returns an object of class SequentialProcess, which inherits from UniprocessFuture.

Usage

To use 'sequential' futures, use plan(sequential), cf. sequential.


future documentation built on Sept. 11, 2024, 7:35 p.m.