AuthClock — @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 { AuthClock } from '@gj-kit/expo-auth';Signature, parameters, and return type
Section titled “Signature, parameters, and return type”/** * All time dependencies of the proactive-refresh scheduler (design §3.2). The default * implementation uses `Date.now` plus timers obtained via `globalThis` reflection — the core * never references the global `setTimeout` identifier, because `lib:["ES2022"]` does not have * it and the typecheck would fail (design §2.4). */interface AuthClock { nowMs(): number; setTimeout(callback: () => void, delayMs: number): unknown; clearTimeout(handle: unknown): void;}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