UNPKG

@lifi/sdk

Version:

LI.FI Any-to-Any Cross-Chain-Swap SDK

8 lines 294 B
type WithDedupeOptions = { enabled?: boolean | undefined; id?: string | undefined; }; /** Deduplicates in-flight promises. */ export declare function withDedupe<T>(fn: () => Promise<T>, { enabled, id }: WithDedupeOptions): Promise<T>; export {}; //# sourceMappingURL=withDedupe.d.ts.map