Convert a reactivevalues object to a listSource:
This function does something similar to what you might want or expect
base::as.list() to do. The difference is that the calling context will take
dependencies on every object in the
reactivevalues object. To avoid taking
dependencies on all the objects, you can wrap the call with
TRUE, include objects with a leading dot. If
FALSE(the default) don't include those objects.