Type alias OnStateChange<T>

OnStateChange<T>: ((handler: StateChangeHandler<T>, meta?: {
    logger?: Logger;
}) => (() => void))

Type Parameters

  • T

Type declaration

    • (handler: StateChangeHandler<T>, meta?: {
          logger?: Logger;
      }): (() => void)
    • Parameters

      • handler: StateChangeHandler<T>
      • Optional meta: {
            logger?: Logger;
        }
        • Optional logger?: Logger

      Returns (() => void)

        • (): void
        • Returns void

Generated using TypeDoc