Class Utility

Utility functions map

Hierarchy

  • Utility

Constructors

Methods

Constructors

Methods

  • Prints a message to stdout between script runs.

    Parameters

    • message: string

      Message to print to stdout

    Returns ((...args) => any)

      • (...args): any
      • Parameters

        • Rest ...args: []

        Returns any

  • Sleeps for the specified number of seconds between script runs.

    Parameters

    • seconds: number

      Number of seconds to sleep

    Returns ((...args) => any)

      • (...args): any
      • Parameters

        • Rest ...args: []

        Returns any

  • Runs a callback for the current results on the script chain.

    Type Parameters

    • T

    Parameters

    • cb: ((value) => void | Promise<void>)
        • (value): void | Promise<void>
        • Parameters

          • value: T

          Returns void | Promise<void>

    Returns ((...args) => any)

      • (...args): any
      • Parameters

        • Rest ...args: [value: T]

        Returns any

Generated using TypeDoc