Skip to main content
Version: v10.0.0

DbLockManager

The part of the Web Locks API the db uses to elect the tab that replays the outbox


Import
import { DbLockManager } from "@hyper-fetch/db"

Preview​

type DbLockManager = {
request: (name: string, callback: () => Promise<unknown>) => Promise<unknown>;
}

Structure​

DbLockManager
NameTypeDescription
request
(name: string, callback: () => Promise<unknown>) => Promise<unknown>