Interface ClockEventSubscriber

Hierarchy

  • ClockEventSubscriber

Methods

  • Add a subscriber function for the supplied event type. Uses RxJS internally.

    Parameters

    • type: EventType

      EventType to subscribe to: 'updated'|'started'|'stopped'|'finished'|'paused'

    • subscriber: ((value) => void)

      A subscriber callback function accepting any value. Will be called when the supplied event is published.

        • (value): void
        • Parameters

          • value: any

          Returns void

    Returns Subscription

    An RxJS Subscription

  • Unsubscribe all currently bound subscribers and reinitialize the event subscriber

    Returns void

Generated using TypeDoc