compute.R6Flow: Trigger computation for an 'R6Flow' or an 'Element' object

Description Usage Arguments Details Value

View source: R/flow-functions.R

Description

Trigger computation for an R6Flow or an Element object

Usage

1
2
3
4
5
## S3 method for class 'R6Flow'
compute(x, ...)

## S3 method for class 'Element'
compute(x, ...)

Arguments

x

A flow object, e.g. as returned by flow_fn.

...

Any other arguments will be ignored.

Details

Unlike collect, it does not trigger an error if it fails to compute and it does not return the actual result of the computation.

Value

Logical, whether the result is available to be collected.


numeract/rflow documentation built on May 28, 2019, 3:39 p.m.