RefreshLock — @gj-kit/expo-auth
A public interface from @gj-kit/expo-auth. The signature below is taken directly from the 0.1.1 release declaration.
Verified import example
Section titled “Verified import example”import { RefreshLock } from '@gj-kit/expo-auth';Signature, parameters, and return type
Section titled “Signature, parameters, and return type”/** * Serializes the refresh critical section across tabs/instances (H5, design §3.2). * The web default implementation is `createWebLocksRefreshLock` from `"./storage"` (§3.8), * which falls back to direct execution where the Web Locks API is unavailable. */interface RefreshLock { acquire<T>(run: () => Promise<T>): Promise<T>;}This declaration is the source of truth for parameters, optionality, generics, return values, and public union/type contracts. Check the package golden path and this subpath’s import conditions for required environment, permission, and error boundaries before calling it.
Release context
Section titled “Release context”- Package:
@gj-kit/expo-auth - Version:
0.1.1 - Public entry:
. - Source: GitHub