mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-04 23:14:56 +01:00
8 lines
149 B
JavaScript
8 lines
149 B
JavaScript
function wait(time) {
|
|
return new Promise(function (resolve, reject) {
|
|
setTimeout(function () {
|
|
resolve()
|
|
}, time * 3 || 1500)
|
|
})
|
|
}
|