@webkrafters/long-count
Version:
Long Count - intervals and timeout capable of handling superbly long wait times surviving device sleep and wake cycles.
13 lines (12 loc) • 482 B
TypeScript
import type { Delay, DelayTypeName, MyInteger } from '../../index';
export declare const BASIC_TYPES: Readonly<{
Number: 1;
String: 1;
BigInt: 1;
Uint8Array: 1;
Undefined: 1;
}>;
export declare const getTypeOfValidDelay: (delay: Delay) => DelayTypeName;
export declare function sanitizeDelay(delay: Uint8Array): MyInteger;
export declare function sanitizeDelay(delay: Iterable<number>): MyInteger;
export declare function sanitizeDelay(delay: Delay): MyInteger;