Skip to content

hbarve1/wait

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Wait

This function paues the flow of code for miliseconds given in parameter.

  const wait = require('@hbarve1/wait');

  async function doSomething() {
    // your important stuff

    // will wait 1000 milli-seconds after moving forwarn in code, 
    // default value is 0
    await wait(1000); 

    // your other important stuff
  }

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published