query<T extends Node> method
This node's direct children of type T, in priority order.
The result is kept up to date as children come and go, so repeated calls
cost nothing and allocate nothing. The first call for a given T pays
one pass over children to build it.
Returned as an Iterable over this node's live storage, so it reflects later changes but cannot be mutated through its interface.
Implementation
Iterable<T> query<T extends Node>() => (_egg ??= Egg()).query<T>();