Select a pseudo-random active state tree info from the set of provided state tree infos.
Using this reduces write-lock contention on state trees.
Set of state tree infos
Optional: Only use if you know what you are doing. The type of tree.
Optional: Only use if you know what you are doing. If true, select from all infos.
A pseudo-randomly selected tree info
Select a pseudo-random active state tree info from the set of provided state tree infos.
Using this reduces write-lock contention on state trees.