Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Type aliases

IEventCallback

IEventCallback<T>: (value: T) => void

Represents the callback supplied by subscribers to be called every dispatch

Type parameters

  • T

Type declaration

    • (value: T): void
    • Parameters

      • value: T

      Returns void

IEventNotifier

IEventNotifier<T>: (dispatch: IEventCallback<T>) => IEventUnsubscriber

Represents the notification subscription used whenever a first subscription is added

Type parameters

  • T

Type declaration

IEventSubscriber

IEventSubscriber<T>: [IEventCallback<T>]

Represents the tuple that internally represents a subscription

Type parameters

  • T

IEventUnsubscriber

IEventUnsubscriber: () => void

Represents the unsubscribe function returned by IEvent.subscribe

Type declaration

    • (): void
    • Returns void

Legend

  • Variable
  • Function
  • Type alias
  • Type alias with type parameter
  • Interface
  • Interface with type parameter
  • Class
  • Class with type parameter
  • Enumeration

Generated using TypeDoc