Subscriber<T>: ((registry, notification) => void)

A function that is called when a notification is sent from a registry.

Type Parameters

  • T extends object

    The type of the item involved in the notification.

Type declaration

    • (registry, notification): void
    • Parameters

      • registry: Registry<T>

        The registry that sent the notification.

      • notification: Notification<T>

        The notification that was sent.

      Returns void