Skip to content

Instantly share code, notes, and snippets.

@qianbin
Last active May 6, 2019 04:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save qianbin/d11d12182e2b72bbafef2ca07a071520 to your computer and use it in GitHub Desktop.
Save qianbin/d11d12182e2b72bbafef2ca07a071520 to your computer and use it in GitHub Desktop.
demo
const ticker = connex.thor.ticker()
let receipt = null
do {
await ticker.next()
// need to catch exception
receipt = await transaction.getReceipt()
} while(!receipt)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment