forget: Forgets the computation for the current state

Description Usage Arguments Value Examples

View source: R/flow-functions.R

Description

Forgets the computation for the current state

Usage

1
forget(flow, state = "current")

Arguments

flow

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

state

A flow state. It can be either a valid state index (integer) or a valid state: "current", "all", in_hash or out_hash (string).

Value

A logical value, whether the deletion was successful.

Examples

1
2
3
fn <- function(x, y) { x + y + 10 }
flowed_fn <- flow_fn(2, 3, fn = fn)
forget(flowed_fn)

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