UNPKG

@deno/kv

Version:

A Deno KV client library optimized for Node.js.

9 lines (8 loc) 321 B
export declare function sleep(ms: number): Promise<unknown>; export declare function executeWithRetries<T>(tag: string, fn: () => Promise<T>, opts?: { maxRetries?: number; isRetryable?: (e: Error) => boolean; }): Promise<T>; export declare class RetryableError extends Error { constructor(message: string); }