RedisFuture.Rd
Set up the future parameters.
RedisFuture(
expr = NULL,
substitute = TRUE,
envir = parent.frame(),
globals = TRUE,
packages = NULL,
lazy = FALSE,
queue = getOption("future.redis.queue", "{{session}}"),
config = redis_config(),
output_queue = NA_character_,
max_retries = 3L,
...
)
An R expression.
If TRUE, argument expr
is
substitute()
:ed, otherwise not.
The environment from where global objects should be identified.
(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()
.
(optional) a character vector specifying packages to be attached in the R environment evaluating the future.
If FALSE (default), the future is resolved eagerly (starting immediately), otherwise not.
A Redis key name of the task queue, or a
RedisWorkerConfiguration
object as returned by startLocalWorkers()
.
A redux::redis_config Redis configuration object.
(optional) Redis key name of the work output queue (note: reserved for future use).
Maximum number of times the future can be re-submitted to the task queue in the event of failure.
Additional named elements of the future.
An object of class RedisFuture
.