Type alias Slot<T, U>

Slot<T, U>: ((sender, args) => void)

A type alias for a slot function.

Type Parameters

  • T
  • U

Type declaration

    • (sender, args): void
    • Parameters

      • sender: T

        The object emitting the signal.

      • args: U

        The args object emitted with the signal.


        A slot is invoked when a signal to which it is connected is emitted.

      Returns void