Closed HenrikBengtsson closed 8 years ago
This is bad naming on my part. private$futures contains lists. Each list encapsulates a future, a then
function etc. The future is stored in expr. I should probably rename to make it clearer
I see. Now it makes sense. Sorry about the noise.
(from my Twitter comment):
In https://github.com/thomasp85/fiery/blob/master/R/FutureStack.R#L59, if
private$futures[[id]]
is a future (Future object created byfuture()
) then I thinkshould be
because
resolved()
operates on a single future, a list or environment of them.