Last active
May 6, 2019 04:17
-
-
Save qianbin/d11d12182e2b72bbafef2ca07a071520 to your computer and use it in GitHub Desktop.
demo
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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