futurize: Tweak a module to a future.

View source: R/future.R

futurizeR Documentation

Tweak a module to a future.

Description

Tweak a module to a future.

Usage

futurize(
  original_name,
  name = paste(original_name, "future", sep = "/"),
  dependencies = get_dependencies(original_name),
  strategy = NULL,
  lazy = FALSE,
  ...
)

Arguments

original_name

A module name.

name

A new module name.

dependencies

A list of dependencies.

strategy

The evaluation function (or name of it) to use for resolving a future. If NULL, then the current strategy is returned.

lazy

Is the strategy lazy?

...

Further arguments passed to get_provider.

Warning

This is an experimental feature subject to changes.


aclemen1/modulr documentation built on Oct. 2, 2024, 7:18 a.m.