pub fn spawn_query<Components: ComponentsTuple + Copy + Clone + 'static>(
    components: Components
) -> EventQuery<Components>
Expand description

Creates a new EventQuery that will find entities that have the specified components that will call its bound function when an entity with those components are spawned / seen for the first time by this query.