//! Extracted from src/engines/ga.rs in phase 69-04 — Observer hook dispatch (notify fn).
use *;
/// Dispatches an observer hook if an observer is attached.
///
/// This is the free-function implementation of `Ga::notify`. The method on `Ga<U>`
/// delegates here, keeping the dispatch logic in one place. No-op when `observer`
/// is `None` (zero overhead per the observer mandate in CLAUDE.md).
///
/// All `notify(|obs| obs.on_*)` call-sites in `mod.rs` are preserved verbatim
/// (observability mandate — CLAUDE.md §Observability).
pub