UNPKG

@swapper-finance/sdk

Version:
3 lines (2 loc) 96 B
export const delay = async (duration: number) => new Promise((r) => setTimeout(r, duration));