indefinitely

1.0.0 • Public • Published

indefinitely

a promise that never resolves

useful for debugging and adding breakpoints

import indefinitely from 'indefinitely'
 
async function somethingYoureDebugging () {
  // doing some stuff
  await indefinitely
  console.log('this never gets called')
}

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.0
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.0
    1

Package Sidebar

Install

npm i indefinitely

Weekly Downloads

1

Version

1.0.0

License

MIT

Last publish

Collaborators

  • str_t