function useRoots view code
Given an array of "sub" roots, uses all roots to be started when the "parent" root is started.
Parameters
root: Root
The "parent" root that should use the root.
subRoots: { Root }
The "sub" roots that should be queued.
Returns
Root
The same "parent" root for convenience.