@metreeca/core - v0.9.17
    Preparing search index...

    Type Alias Observer<T>

    Observer: (version: T) => void

    State observer.

    Receives version data after a transition and performs side effects. Observers are called asynchronously via queueMicrotask(). Errors are caught and silently ignored to prevent affecting other observers or the transition itself.

    Type Parameters

    • T extends State

      The State type

    Type Declaration

      • (version: T): void
      • Parameters

        • version: T

        Returns void