literate-elm
Version:
Runs literate Elm code blocks and calculates Elm expressions
8 lines (7 loc) • 546 B
TypeScript
export declare const touch: (path: string) => Promise<void>;
export declare const getLastTouchedAt: (path: string) => Promise<number>;
export declare const hasBeenTouchedWithin: (path: string, intervalInMs: number) => Promise<boolean>;
export declare const isLocked: (path: string) => Promise<boolean>;
export declare const ensureUnlocked: (path: string, timeout?: number) => Promise<void>;
export declare const lock: (path: string, identifier?: string | undefined) => Promise<void>;
export declare const unlock: (path: string) => Promise<void>;