bfile/filed/static/assets/delay.js

2 lines
62 B
JavaScript

const delay=async m=>{return new Promise(r=>setTimeout(r,m))}