Type Alias RefOnResolvedValueChange<T>

RefOnResolvedValueChange: (
    ref: Ref<T>,
    newValue: T | undefined,
    oldValue: T | undefined,
) => void

Type for the callback called when a reference resolved value changes.

Type Parameters

  • T extends object

Type declaration

    • (ref: Ref<T>, newValue: T | undefined, oldValue: T | undefined): void
    • Parameters

      • ref: Ref<T>
      • newValue: T | undefined
      • oldValue: T | undefined

      Returns void