UNPKG

dynatron

Version:

The most advanced ORM for AWS DynamoDB

18 lines (17 loc) 688 B
import { Options } from "async-retry"; import { NativeValue } from "../dynatron"; export declare const BUILD: unique symbol; export declare const TAKING_TOO_LONG_EXCEPTION = "TakingTooLongException"; export declare const RETRY_OPTIONS: Options; export declare const SHORT_MAX_LATENCY = 1000; export declare const LONG_MAX_LATENCY: number; export declare const assertNever: (object: never) => never; export declare const isRetryableError: (error: unknown) => any; export declare const validateKey: (key: NativeValue) => void; export declare const createShortCircuit: (parameters: { duration: number; error: Error; }) => { launch: () => Promise<never>; halt: () => void; };