UNPKG

@bombearn/sdk

Version:

Interaction framework for the yearn protocol

8 lines (7 loc) 325 B
declare type TypedMap<T> = { [key: string]: T; }; export declare const keyBy: <T>(array: T[], key: string) => TypedMap<T>; export declare const wait: (ms: number) => Promise<unknown>; export declare const poll: <T1>(fn: () => Promise<T1>, fnCondition: (args: T1) => boolean, ms: number) => Promise<T1>; export {};