This commit is contained in:
fyears 2024-04-04 22:20:44 +08:00
parent 640f1e56f1
commit c5a7085fda

View File

@ -515,8 +515,8 @@ export const stringToFragment = (string: string) => {
/**
* https://stackoverflow.com/questions/39538473/using-settimeout-on-promise-chain
* @param ms
* @returns
* @param ms
* @returns
*/
export const delay = (ms: number) =>
new Promise((resolve) => setTimeout(resolve, ms));