Determines whether a cached user record has expired.

Implements

Constructors

Methods

Constructors

Methods

  • Checks if the given user record is expired based on its cache time.

    Parameters

    • cacheTime: number

      Timestamp when the record was cached.

    • _record: IUserInfo

    Returns Promise<boolean>

    true if record is expired; otherwise false;