@toreda/time
Version:
Simple, small footprint library for common time operations and converting between units of time.
10 lines (9 loc) • 345 B
TypeScript
/**
* Returns the next auto-incrementing TimerCallbackGroup id. The counter is
* stored on `globalThis` under a registered Symbol so every module that
* imports this helper — even across duplicated copies of the package — shares
* the same sequence.
*
* @category Timers
*/
export declare function timerCallbackGroupIdNext(): string;