UNPKG

@thespidercode/openbook-swap

Version:
7 lines 190 B
export const waitFor = async (time: number): Promise<void> => { await new Promise(async (res, rej) => { setTimeout(() => { res(null); }, time); }) }