EntryStatusHandler is a class that handles the retrieval and caching of entry status information. It connects to a client and optionally uses a socket to listen for real-time updates to the entry status data.

Constructors

Methods

Constructors

Methods

  • Retrieves all entry statuses, optionally bypassing the cache.

    Parameters

    • OptionalskipCache: boolean

      Optional flag to bypass the cache and fetch the entry directly from the source.

    Returns Promise<EntryStatus[]>

    • A promise that resolves to an array of entry statuses.
  • Retrieves an entry status by its unique identifier.

    Parameters

    • id: string

      The unique identifier of the entry to be retrieved.

    • OptionalskipCache: boolean

      Optional flag to bypass the cache and fetch the entry directly from the source.

    Returns Promise<EntryStatus>

    A promise that resolves to the fetched entry status.