闫增涛
2024-12-16 c83278c4afd1251b0646b506fd59a59a7f502165
1
2
3
export function timeout(ms = 1000) {
  return new Promise((_, reject) => setTimeout(reject, ms));
}