Module tab_lock

Module tab_lock 

Source
Expand description

Browser tab lock using BroadcastChannel API.

Only one browser tab can hold the lock at a time. When a second tab tries to acquire the lock, it will fail immediately.

Structsยง

TabLock
A handle representing the acquired tab lock. Dropping it releases the lock.