UNPKG
unmind-athena-client
Version:
latest (1.1.1)
2.5.2
2.5.1
1.1.1
1.1.0
a nodejs simple aws athena client
github.com/abrahamunmind/unmind-athena
abrahamunmind/unmind-athena
unmind-athena-client
/
src
/
lib
/
util.ts
10 lines
(8 loc)
•
192 B
text/typescript
View Raw
1
2
3
4
5
6
7
8
9
10
import
{
setTimeout
}
from
'timers'
export
function
sleep
(
ms
:
number
):
Promise
<
void
> {
return
new
Promise
<
void
>(
(
resolve
:
any
) =>
{
setTimeout
(
() =>
{
resolve
() }, ms) }) }