Class Util

Utility class used by the Client

Hierarchy

  • Util

Constructors

Properties

Accessors

Methods

Constructors

Properties

#client: Client<boolean>

Private member for the Client instance

Accessors

Methods

  • Sleeps the program for the specified amount of milliseconds

    Returns

    A promise that resolves after the given amount of time

    Parameters

    • ms: number

      The number of milliseconds to wait

    Returns Promise<void>

  • Converts data into a json like string

    Returns

    JSON data

    Parameters

    • data: unknown

      Data to convert to JSON

    Returns string

Generated using TypeDoc