R/promise.r
parent_promise.Rd
Find the parent (first) promise.
parent_promise(x)
unquoted name of promise to find initial value for for.
f <- function(x) g(x) g <- function(y) h(y) h <- function(z) parent_promise(z) h(x + 1) #> x + 1 g(x + 1) #> x + 1 f(x + 1) #> x + 1