QYF-GitLab1
4 天以前 f2036f82c20767036fe8c4d627e5694e28e6ab73
1
2
3
export function timeout(ms = 1000) {
  return new Promise((_, reject) => setTimeout(reject, ms));
}