npm.io
1.0.6 • Published 3 years ago

ts-eventually

Licence
MIT
Version
1.0.6
Deps
0
Size
15 kB
Vulns
0
Weekly
0

Eventually for TypeScript.

WebdriverIO's waitUntil() doesn't work with TypeScript. This project provide same function as eventually().

How to use

Just call your function in eventually(() => f)

eventually(() => throwableFunction("aaa"))

You can specify timeout and interval. The default is timeout: 10 seconds, interval: 1 second.

TODO

TODO list

  • Separate directory into Main and Sample
  • Register to npm

How to develop

TODO change to package.json

npm install typescript ts-node

Keywords