Function spawn_listener

Source
pub fn spawn_listener(
    query: Query<'_, '_, (Entity, &LocalPlayerEvents), (Added<InLoadedChunk>, Without<SentSpawnEvent>)>,
    commands: Commands<'_, '_>,
)