Skip to main content

externalScheduler

Index

Constructors

externalconstructor

  • Parameters

    • externalclock: Clock
    • externalinteractionTimeout: Duration

      The maximum amount of time to give to a callback to complete before throwing an error

    Returns Scheduler

Methods

externaltoJSON

  • toJSON(): JSONObject
  • Returns JSONObject

externalafter

  • Schedules a callback function to be invoked after a delay


    Type parameters

    • Result

    Parameters

    Returns Promise<Result>

externalwaitFor

  • Returns a Promise to be resolved after a delay


    Parameters

    Returns Promise<void>

externalrepeatUntil

  • Schedules a callback function to be repeated, according to configured limits.


    Type parameters

    • Result

    Parameters

    Returns Promise<Result>

externalstop

  • stop(): void
  • Returns void