@dfinity/oisy-wallet-signer
Version:
A library designed to facilitate communication between a dApp and the OISY Wallet on the Internet Computer.
9 lines (8 loc) • 384 B
TypeScript
export declare const waitForMilliseconds: (milliseconds: number) => Promise<void>;
export type ReadyOrError = 'ready' | 'error';
export declare const retryUntilReady: ({ retries, isReady, fn, intervalInMilliseconds }: {
retries: number;
isReady: () => ReadyOrError | 'pending';
fn: () => void;
intervalInMilliseconds?: number;
}) => Promise<ReadyOrError | 'timeout'>;