Function isLockActive

  • Check if a lock is currently active for a given scope and key.

    Parameters

    • scope: any
    • key: string

    Returns boolean