Affects Version/s: None
Fix Version/s: None
Component/s: Built-in functions
bundlestate() allows us to collect all of the variables from a bundle. It would be nice to be able to activate a bundle and get a 3 pass convergence as with a methods type promise but then capture the bundlestate.
This can be used to more cleanly separate a bundle that sources data from an implementation that uses that data.
I think the function should be skipped during pre-eval.
I don't know if it should be a cached function or not.
Here are some syntax suggestions.
"return" data => usebundle("mybundle", arg1, arg2, ...)
"return" data => frombundle("mybundle", arg1, arg2, ...)
"return" data => callbundle("mybundle", arg1, arg2, ...)