@supercharge/promise-pool
Advanced tools
Changelog
2.0.0 - 2021-11-09
The 2.x
release line changes the exports of this package:
// Now: 2.x
import { PromisePool } from '@supercharge/promise-pool'
// or
const { PromisePool } = require('@supercharge/promise-pool')
// Before: 1.x
import PromisePool from '@supercharge/promise-pool' // required the `esModuleInterop` flag in tsconfig.json
// or
const PromisePool = require('@supercharge/promise-pool')
The 1.x
releases used CommonJS- and ESM-compatible default exports. That required TypeScript packages using ESM imports to enable the esModuleInterop
flag in their tsconfig.json
file. The named exports in 2.x
don’t require that flag anymore.
Changelog
1.6.0 - 2020-11-03
.handleError(handler)
method: aka “bring your own error handling”. This allows you to take over error handling from the pool. If you impelement the .handleError
method, the pool won’t collect errors anymore. It puts error handling in your hands.Changelog
1.4.0 - 2020-09-17
main
entrypoint in package.json
to dist
folder@hapi/lab
to jest
@hapi/code
to jest