1.0.0 • Published 8 years ago
indefinitely v1.0.0
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')
}
1.0.0
8 years ago