5 lines
93 B
JavaScript
5 lines
93 B
JavaScript
|
export default (time = 0) =>
|
||
|
new Promise(resolve => {
|
||
|
setTimeout(resolve, time);
|
||
|
});
|