Wrapper for a scheduled event

Constructors

Properties

Methods

Constructors

  • Parameters

    • _isRelevant: (() => boolean)

      a method that determines if the event is still relevant at the time of its execution. Returns true if the event is still relevant (e.g. the set field is still editable). Returns false otherwise.

        • (): boolean
        • Returns boolean

    • _execute: ((afterAction: AfterAction) => void)

      executes the scheduled event and then performs the provided after action

        • (afterAction): void
        • Parameters

          Returns void

    • _revert: ((afterAction: AfterAction) => void) = ...

      reverts the scheduled event and then performs the provided after action

        • (afterAction): void
        • Parameters

          Returns void

    Returns QueuedEvent

Properties

_execute: ((afterAction: AfterAction) => void)

executes the scheduled event and then performs the provided after action

_isRelevant: (() => boolean)

a method that determines if the event is still relevant at the time of its execution. Returns true if the event is still relevant (e.g. the set field is still editable). Returns false otherwise.

_revert: ((afterAction: AfterAction) => void) = ...

reverts the scheduled event and then performs the provided after action

Methods