Type Parameters

Hierarchy (View Summary)

Constructors

  • Type Parameters

    • T extends DeepRestrictToStringKeys<
          {
              end?: number;
              frequency?: number;
              frequencyUnits?: "second"
              | "minute"
              | "hour"
              | "day";
              remaining?: number;
              schema: "network.xyo.automation.interval";
              start: number;
              type: "interval";
          },
      > = DeepRestrictToStringKeys<
          {
              end?: number;
              frequency?: number;
              frequencyUnits?: "second"
              | "minute"
              | "hour"
              | "day";
              remaining?: number;
              schema: "network.xyo.automation.interval";
              start: number;
              type: "interval";
          },
      >

    Parameters

    • payload: T

    Returns SentinelIntervalAutomationWrapper<T>

Properties

payload: T
loaderFactory: null | PayloadLoaderFactory

Accessors

  • get frequencyMillis(): number
  • Returns number

  • get remaining(): number
  • Returns number

Methods

  • Returns void

  • Parameters

    • Optionalcount: number

    Returns void

  • Returns Promise<Lowercase<string>>

  • Returns Promise<Error[]>

  • Returns Promise<boolean>

  • Returns this

  • Returns string

  • Parameters

    • remaining: number

    Returns void

  • Parameters

    • start: number

    Returns void

  • Returns Promise<Error[]>

  • Parameters

    • address: Lowercase<string>

    Returns Promise<null | PayloadDataWrapper<DeepRestrictToStringKeys<{ schema: string }>>>

  • Type Parameters

    Parameters

    • Optionalpayload: unknown

    Returns undefined | PayloadDataWrapper<T>

  • Type Parameters

    Parameters

    • obj: unknown

    Returns undefined | PayloadDataWrapper<T>

  • Type Parameters

    Parameters

    • Optionalpayload: T | PayloadDataWrapper<T>

    Returns PayloadDataWrapper<T>

  • Type Parameters

    Parameters

    • payloads: (T | PayloadDataWrapper<T>)[]

    Returns Promise<Record<string, PayloadDataWrapper<T>>>