Function waitForLockRelease

  • Wait for a lock to be released for a given scope and key.

    Parameters

    • scope: any
    • key: string
    • Optional signal: AbortSignal

    Returns Promise<void>