API Core - v1.5.0
    Preparing search index...

    Class LifecycleEmitter<TSyncParams>

    Thin wrapper around a LifecycleEvents bundle that swallows any exceptions raised by consumer callbacks and logs them at error level. A misbehaving observer must never be able to break the request or sync flow — observability is a side concern, never a blocker.

    Type Parameters

    • TSyncParams = unknown

      Shape of the consumer-defined parameters the sync notification carries.

    Index
    • Notifies onSyncComplete that a sync landed. Awaited (unlike the emit* family): a consumer's sync decorator awaits the notification so a decorated mutation resolves only after the observer has run. The non-throwing contract is the same — failures route through the shared reporter.

      Parameters

      • ...args: [params?: TSyncParams]

        Consumer-defined sync parameters, forwarded verbatim.

      Returns Promise<void>

      Resolves once the observer settled (or was absent).