···511511}
512512513513// Run if this is the main module
514514-demo().catch(console.error)
514514+demo()
515515+ .catch(console.error)
516516+ .finally(() => process.exit(0))
+3-1
examples/parallel-scraper.ts
···591591592592// Note: This demo requires network access
593593// For offline testing, mock the fetch function
594594-demo().catch(console.error)
594594+demo()
595595+ .catch(console.error)
596596+ .finally(() => process.exit(0))