Skip to content

Commit

Permalink
Appended links
Browse files Browse the repository at this point in the history
  • Loading branch information
MitchPierias committed Apr 19, 2019
1 parent 3e23664 commit 137f941
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ chai.use(deepEqualInAnyOrder);
* @desc Pauses the current process until the specified EOS block number occurs
* @note Assumes blocks will always be produced every 500ms
* @param number Process sleep duration
* @author Kevin Brown <github.com/thekevinbrown>
* @author [Kevin Brown](github.com/thekevinbrown)
*/
export const untilBlockNumber = async (number: number) => {
// Loops until current head block number reaches desired
Expand All @@ -30,7 +30,7 @@ export const untilBlockNumber = async (number: number) => {
* Sleep Process
* @desc Pauses the current process for the specified duration
* @param delayInMs Process sleep duration
* @author Kevin Brown <github.com/thekevinbrown>
* @author [Kevin Brown](github.com/thekevinbrown)
*/
export const sleep = async (delayInMs: number) =>
new Promise(resolve => setTimeout(resolve, delayInMs));
Expand Down

0 comments on commit 137f941

Please sign in to comment.