{"_id":"@art-suite/art-core-promises","_rev":"6-46ae9b0df40924e62508b582afb8458c","name":"@art-suite/art-core-promises","dist-tags":{"latest":"0.1.5"},"versions":{"0.1.0":{"name":"@art-suite/art-core-promises","version":"0.1.0","author":{"name":"Shane Brinkman-Davis Delamore"},"license":"ISC","_id":"@art-suite/art-core-promises@0.1.0","maintainers":[{"name":"shanebdavis","email":"shanebdavis@gmail.com"}],"homepage":"https://github.com/art-suite/art-suite-foundations","bugs":{"url":"https://github.com/art-suite/art-suite-foundations/issues"},"dist":{"shasum":"8eb17011bd67fb8647cc56b647c82b4fe18fcdc4","tarball":"https://registry.npmjs.org/@art-suite/art-core-promises/-/art-core-promises-0.1.0.tgz","fileCount":21,"integrity":"sha512-YZ7MOjJD+SUKNhdT31bgHzQ0Qb3weNGKf7TfPgYpgwSybAtPxToNQjcSF+zXtL5l0YE432SLJTHYyx2pLOCg4g==","signatures":[{"sig":"MEYCIQDqXW0Y1Z926WsE7rTckMqCBrUxjq/qvL/36vC5wJpYbgIhAPPypRUOdTENxbmwbbV9kgHWDZjKMQW/tFTuLBrTSjTg","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":51123},"jest":{"verbose":true,"testEnvironment":"node","collectCoverageFrom":["build/**/*.js","!build/test/**/*.js"],"testPathIgnorePatterns":["/node_modules/","<rootDir>/test"],"coveragePathIgnorePatterns":["/index.js$","/namespace.js$"]},"main":"./build","watch":{"build":{"quiet":false,"patterns":["source"],"extensions":["caf","coffee"]}},"gitHead":"c94ae44e84ae844b6d92f988712934873146a838","scripts":{"nn":"nn build/* ","test":"jest","build":"rsync -av --exclude='*.caf' --exclude='*.coffee' ./source/ ./build/\ncoffee -m --output build --compile source &\nCOFFEE_PID=$!\ncaf -m -c source -o build --require coffee-script/register&\nCAF_PID=$!\nwait $COFFEE_PID || exit 1\nwait $CAF_PID || exit 1\nnpm run nn","clean":"rm -rf build/*","test-watch":"jest --watch","build-clean":"# BUILD CLEAN START\n#   - building into: build-temp\n#\nrm -rf ./__build-old__\nrsync -av --exclude='*.caf' --exclude='*.coffee' ./source/ ./build-temp/\ncoffee -m --output build-temp --compile source &\nCOFFEE_PID=$!\ncaf -m -c source -o build-temp --require coffee-script/register&\nCAF_PID=$!\nwait $COFFEE_PID || exit 1\nwait $CAF_PID || exit 1\nnpm run nn\n\nnn build-temp/*\n\n# BUILD CLEAN FINIALIZING\n#  - replace old build in:   build\n#  - with new build from:    build-temp\n#\nmv build __build-old__\nmv build-temp build\nrm -rf ./__build-old__","build-watch":"nodemon -e js,ts,jsx,tsx,caf,coffee,json -w \"source/**\" -x npm run build"},"_npmUser":{"name":"shanebdavis","email":"shanebdavis@gmail.com"},"repository":{"url":"git+https://github.com/art-suite/art-suite-foundations.git","type":"git"},"_npmVersion":"10.9.0","description":"The Standard Library for JavaScript that aught to be.","directories":{},"_nodeVersion":"22.12.0","dependencies":{"bluebird":"^3.5.5","caffeine-script-runtime":"^1.14.0","@art-suite/art-core-types":"^0.2.1","neptune-namespaces-runtime":"^3.2.14","@art-suite/art-core-objects":"^0.1.0"},"_hasShrinkwrap":false,"devDependencies":{"mocha":"^7.2.0","art-testbench":"^3.2.17","art-build-configurator":"^1.30.4","@art-suite/standard-package-builder":"^1.2.7"},"_npmOperationalInternal":{"tmp":"tmp/art-core-promises_0.1.0_1746779411107_0.1587761864208761","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@art-suite/art-core-promises","version":"0.1.1","author":{"name":"Shane Brinkman-Davis Delamore"},"license":"ISC","_id":"@art-suite/art-core-promises@0.1.1","maintainers":[{"name":"shanebdavis","email":"shanebdavis@gmail.com"}],"homepage":"https://github.com/art-suite/art-suite-foundations","bugs":{"url":"https://github.com/art-suite/art-suite-foundations/issues"},"dist":{"shasum":"04468112fd86d1bc1280479fe728c5bc548a6d6e","tarball":"https://registry.npmjs.org/@art-suite/art-core-promises/-/art-core-promises-0.1.1.tgz","fileCount":21,"integrity":"sha512-NbvmQdtBZFH4Pxn++nl7/I51SYwEPeUxqSqRGWEXCeouiNEATcBw8aw/wszTNy3V1G0PrzYg7KmQPoudRZxGAw==","signatures":[{"sig":"MEQCICDbN0Z8v05S7qhyXHOps8RXxBKZKn+SBIvynjSMOG6oAiBhE7Ga+btscp3ShmWOv6IBicnrMBC8pHaQABEiuaH71Q==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":51123},"jest":{"verbose":true,"testEnvironment":"node","collectCoverageFrom":["build/**/*.js","!build/test/**/*.js"],"testPathIgnorePatterns":["/node_modules/","<rootDir>/test"],"coveragePathIgnorePatterns":["/index.js$","/namespace.js$"]},"main":"./build","watch":{"build":{"quiet":false,"patterns":["source"],"extensions":["caf","coffee"]}},"gitHead":"c94ae44e84ae844b6d92f988712934873146a838","scripts":{"nn":"nn build/* ","test":"jest","build":"rsync -av --exclude='*.caf' --exclude='*.coffee' ./source/ ./build/\ncoffee -m --output build --compile source &\nCOFFEE_PID=$!\ncaf -m -c source -o build --require coffee-script/register&\nCAF_PID=$!\nwait $COFFEE_PID || exit 1\nwait $CAF_PID || exit 1\nnpm run nn","clean":"rm -rf build/*","test-watch":"jest --watch","build-clean":"# BUILD CLEAN START\n#   - building into: build-temp\n#\nrm -rf ./__build-old__\nrsync -av --exclude='*.caf' --exclude='*.coffee' ./source/ ./build-temp/\ncoffee -m --output build-temp --compile source &\nCOFFEE_PID=$!\ncaf -m -c source -o build-temp --require coffee-script/register&\nCAF_PID=$!\nwait $COFFEE_PID || exit 1\nwait $CAF_PID || exit 1\nnpm run nn\n\nnn build-temp/*\n\n# BUILD CLEAN FINIALIZING\n#  - replace old build in:   build\n#  - with new build from:    build-temp\n#\nmv build __build-old__\nmv build-temp build\nrm -rf ./__build-old__","build-watch":"nodemon -e js,ts,jsx,tsx,caf,coffee,json -w \"source/**\" -x npm run build"},"_npmUser":{"name":"shanebdavis","email":"shanebdavis@gmail.com"},"repository":{"url":"git+https://github.com/art-suite/art-suite-foundations.git","type":"git"},"_npmVersion":"10.9.0","description":"The Standard Library for JavaScript that aught to be.","directories":{},"_nodeVersion":"22.12.0","dependencies":{"bluebird":"^3.5.5","caffeine-script-runtime":"^1.14.0","@art-suite/art-core-types":"^0.2.1","neptune-namespaces-runtime":"^3.2.14","@art-suite/art-core-objects":"^0.1.0"},"_hasShrinkwrap":false,"devDependencies":{"mocha":"^7.2.0","art-testbench":"^3.2.17","art-build-configurator":"^1.30.4","@art-suite/standard-package-builder":"^1.2.7"},"_npmOperationalInternal":{"tmp":"tmp/art-core-promises_0.1.1_1746779503677_0.8173653711992193","host":"s3://npm-registry-packages-npm-production"}},"0.1.2":{"name":"@art-suite/art-core-promises","version":"0.1.2","author":{"name":"Shane Brinkman-Davis Delamore"},"license":"ISC","_id":"@art-suite/art-core-promises@0.1.2","maintainers":[{"name":"shanebdavis","email":"shanebdavis@gmail.com"}],"homepage":"https://github.com/art-suite/art-suite-foundations","bugs":{"url":"https://github.com/art-suite/art-suite-foundations/issues"},"dist":{"shasum":"31165e0581fac27f163412d9bfc332bf70890c22","tarball":"https://registry.npmjs.org/@art-suite/art-core-promises/-/art-core-promises-0.1.2.tgz","fileCount":21,"integrity":"sha512-CB2pGsJeeUdS0KM27Jg0sG3u76Rl3FOHxpotvu4F2OUVMb2nQASHO1msmk/lRY/wbBULRrZLHo2NovqtyxQddA==","signatures":[{"sig":"MEYCIQDGFb+VUAsfq7/qoeTW5554q486FJ+MFXsuuEq3YTTM+AIhAKdbSWNnBpT6RPycMbw5Il8oIH9+0DeNldBtNY+MoCAl","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":50865},"jest":{"verbose":true,"testEnvironment":"node","collectCoverageFrom":["build/**/*.js","!build/test/**/*.js"],"testPathIgnorePatterns":["/node_modules/","<rootDir>/test"],"coveragePathIgnorePatterns":["/index.js$","/namespace.js$"]},"main":"./build","watch":{"build":{"quiet":false,"patterns":["source"],"extensions":["caf","coffee"]}},"exports":{".":{"import":"./index.mjs","require":"./build/index.js"}},"gitHead":"bedd81435373af9778e14146163a6077d4fdcc81","scripts":{"nn":"nn build/* ","test":"jest","build":"rsync -av --exclude='*.caf' ./source/ ./build/\ncaf -m -c source -o build\nnpm run nn","clean":"rm -rf build/*","test-watch":"jest --watch","build-clean":"# BUILD CLEAN START\n#   - building into: build-temp\n#\nrm -rf ./__build-old__\nrsync -av --exclude='*.caf' ./source/ ./build-temp/\ncaf -m -c source -o build-temp\nnpm run nn\n\nnn build-temp/*\n\n# BUILD CLEAN FINIALIZING\n#  - replace old build in:   build\n#  - with new build from:    build-temp\n#\nmv build __build-old__\nmv build-temp build\nrm -rf ./__build-old__","build-watch":"nodemon -e js,ts,jsx,tsx,caf,coffee,json -w \"source/**\" -x npm run build"},"_npmUser":{"name":"shanebdavis","email":"shanebdavis@gmail.com"},"repository":{"url":"git+https://github.com/art-suite/art-suite-foundations.git","type":"git"},"_npmVersion":"10.9.0","description":"The Standard Library for JavaScript that aught to be.","directories":{},"_nodeVersion":"22.12.0","dependencies":{"bluebird":"^3.5.5","caffeine-script-runtime":"^1.14.0","@art-suite/art-core-types":"^0.2.2","neptune-namespaces-runtime":"^3.2.14","@art-suite/art-core-objects":"^0.1.1"},"_hasShrinkwrap":false,"devDependencies":{"mocha":"^7.2.0","art-testbench":"^3.2.17","art-build-configurator":"^1.30.4","@art-suite/standard-package-builder":"^1.2.7"},"_npmOperationalInternal":{"tmp":"tmp/art-core-promises_0.1.2_1746783864403_0.6123294502955179","host":"s3://npm-registry-packages-npm-production"}},"0.1.3":{"name":"@art-suite/art-core-promises","version":"0.1.3","author":{"name":"Shane Brinkman-Davis Delamore"},"license":"ISC","_id":"@art-suite/art-core-promises@0.1.3","maintainers":[{"name":"shanebdavis","email":"shanebdavis@gmail.com"}],"homepage":"https://github.com/art-suite/art-suite-foundations","bugs":{"url":"https://github.com/art-suite/art-suite-foundations/issues"},"dist":{"shasum":"53e374675c699884a2c5925717a5cfdfcfb6b42f","tarball":"https://registry.npmjs.org/@art-suite/art-core-promises/-/art-core-promises-0.1.3.tgz","fileCount":21,"integrity":"sha512-paSjVbF/ocQ8VcsvQzsm+cMev+/w66plsonYSD+wSnH9FfDAVssuSnxxpQowIUJWu0ZdgyIoU2WC79SruFzF4A==","signatures":[{"sig":"MEYCIQDQdjuUg1qsyVX/uxIFKVyfavXNA3JLn3+HbcYLlw1figIhAOHfxAOwk27R4qIhEZ4bQgTHCZICutqvxURMWIJCOcWt","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":50865},"jest":{"verbose":true,"testEnvironment":"node","collectCoverageFrom":["build/**/*.js","!build/test/**/*.js"],"testPathIgnorePatterns":["/node_modules/","<rootDir>/test"],"coveragePathIgnorePatterns":["/index.js$","/namespace.js$"]},"main":"./build","watch":{"build":{"quiet":false,"patterns":["source"],"extensions":["caf","coffee"]}},"exports":{".":{"import":"./index.mjs","require":"./build/index.js"}},"gitHead":"a94165479e2a1bce1798e54eabcb679c47599240","scripts":{"nn":"nn build/* ","test":"jest","build":"rsync -av --exclude='*.caf' ./source/ ./build/\ncaf -m -c source -o build\nnpm run nn","clean":"rm -rf build/*","test-watch":"jest --watch","build-clean":"# BUILD CLEAN START\n#   - building into: build-temp\n#\nrm -rf ./__build-old__\nrsync -av --exclude='*.caf' ./source/ ./build-temp/\ncaf -m -c source -o build-temp\nnpm run nn\n\nnn build-temp/*\n\n# BUILD CLEAN FINIALIZING\n#  - replace old build in:   build\n#  - with new build from:    build-temp\n#\nmv build __build-old__\nmv build-temp build\nrm -rf ./__build-old__","build-watch":"nodemon -e js,ts,jsx,tsx,caf,coffee,json -w \"source/**\" -x npm run build"},"_npmUser":{"name":"shanebdavis","email":"shanebdavis@gmail.com"},"repository":{"url":"git+https://github.com/art-suite/art-suite-foundations.git","type":"git"},"_npmVersion":"10.9.0","description":"The Standard Library for JavaScript that aught to be.","directories":{},"_nodeVersion":"22.12.0","dependencies":{"bluebird":"^3.5.5","caffeine-script-runtime":"^1.14.0","@art-suite/art-core-types":"^0.3.0","neptune-namespaces-runtime":"^3.2.14","@art-suite/art-core-objects":"^0.2.0"},"_hasShrinkwrap":false,"devDependencies":{"mocha":"^7.2.0","art-testbench":"^3.2.17","art-build-configurator":"^1.30.4","@art-suite/standard-package-builder":"^1.2.7"},"_npmOperationalInternal":{"tmp":"tmp/art-core-promises_0.1.3_1746786913706_0.891505304331563","host":"s3://npm-registry-packages-npm-production"}},"0.1.4":{"name":"@art-suite/art-core-promises","version":"0.1.4","author":{"name":"Shane Brinkman-Davis Delamore"},"license":"ISC","_id":"@art-suite/art-core-promises@0.1.4","maintainers":[{"name":"shanebdavis","email":"shanebdavis@gmail.com"}],"homepage":"https://github.com/art-suite/art-suite-foundations","bugs":{"url":"https://github.com/art-suite/art-suite-foundations/issues"},"dist":{"shasum":"b2d40c27e9dc87121ffd8e2d45f80d849185748e","tarball":"https://registry.npmjs.org/@art-suite/art-core-promises/-/art-core-promises-0.1.4.tgz","fileCount":21,"integrity":"sha512-UqbgJ7Gt/0IuP97NyhqBYx4xIy5fT8QHwyX+4g9+Pk8EzbAAWgLgxG45qE/MLJwhPl//keyGqdoOyODMXOaMLA==","signatures":[{"sig":"MEQCIEGZ+Fht6ZZtMt+ikrAtw76wD2/EJH2vOuSu/YvvVnyTAiACU/qtiSzsbKXJ3wL6WzcKMqyDVkyRTJOqsJSF+Zytqw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":50896},"jest":{"verbose":true,"testEnvironment":"node","collectCoverageFrom":["build/**/*.js","!build/test/**/*.js"],"testPathIgnorePatterns":["/node_modules/","<rootDir>/test"],"coveragePathIgnorePatterns":["/index.js$","/namespace.js$"]},"main":"./build","watch":{"build":{"quiet":false,"patterns":["source"],"extensions":["caf","coffee"]}},"exports":{".":{"types":"./index.d.ts","import":"./index.mjs","require":"./build/index.js"}},"gitHead":"a94165479e2a1bce1798e54eabcb679c47599240","scripts":{"nn":"nn build/* ","test":"jest","build":"rsync -av --exclude='*.caf' ./source/ ./build/\ncaf -m -c source -o build\nnpm run nn","clean":"rm -rf build/*","test-watch":"jest --watch","build-clean":"# BUILD CLEAN START\n#   - building into: build-temp\n#\nrm -rf ./__build-old__\nrsync -av --exclude='*.caf' ./source/ ./build-temp/\ncaf -m -c source -o build-temp\nnpm run nn\n\nnn build-temp/*\n\n# BUILD CLEAN FINIALIZING\n#  - replace old build in:   build\n#  - with new build from:    build-temp\n#\nmv build __build-old__\nmv build-temp build\nrm -rf ./__build-old__","build-watch":"nodemon -e js,ts,jsx,tsx,caf,coffee,json -w \"source/**\" -x npm run build"},"_npmUser":{"name":"shanebdavis","email":"shanebdavis@gmail.com"},"repository":{"url":"git+https://github.com/art-suite/art-suite-foundations.git","type":"git"},"_npmVersion":"10.9.0","description":"The Standard Library for JavaScript that aught to be.","directories":{},"_nodeVersion":"22.12.0","dependencies":{"bluebird":"^3.5.5","caffeine-script-runtime":"^1.14.0","@art-suite/art-core-types":"^0.3.2","neptune-namespaces-runtime":"^3.2.14","@art-suite/art-core-objects":"^0.2.2"},"_hasShrinkwrap":false,"devDependencies":{"mocha":"^7.2.0","art-testbench":"^3.2.17","art-build-configurator":"^1.30.4","@art-suite/standard-package-builder":"^1.2.7"},"_npmOperationalInternal":{"tmp":"tmp/art-core-promises_0.1.4_1746787421943_0.5120502640958697","host":"s3://npm-registry-packages-npm-production"}},"0.1.5":{"author":{"name":"Shane Brinkman-Davis Delamore"},"bugs":{"url":"https://github.com/art-suite/art-suite-foundations/issues"},"dependencies":{"@art-suite/art-core-objects":"^0.2.3","@art-suite/art-core-types":"^0.3.3","bluebird":"^3.5.5","caffeine-script-runtime":"^1.14.0","neptune-namespaces-runtime":"^3.2.15"},"description":"The Standard Library for JavaScript that aught to be.","devDependencies":{"@art-suite/standard-package-builder":"^1.2.8","art-build-configurator":"^1.30.5","art-testbench":"^3.2.18","mocha":"^7.2.0"},"exports":{".":{"import":"./index.mjs","require":"./build/index.js","types":"./index.d.ts"}},"homepage":"https://github.com/art-suite/art-suite-foundations","jest":{"collectCoverageFrom":["build/**/*.js","!build/test/**/*.js"],"coveragePathIgnorePatterns":["/index.js$","/namespace.js$"],"testEnvironment":"node","testPathIgnorePatterns":["/node_modules/","<rootDir>/test"],"verbose":true},"license":"ISC","main":"./build","name":"@art-suite/art-core-promises","repository":{"type":"git","url":"git+https://github.com/art-suite/art-suite-foundations.git"},"scripts":{"build":"rsync -av --exclude='*.caf' ./source/ ./build/\ncaf -m -c source -o build\nnpm run nn","build-clean":"# BUILD CLEAN START\n#   - building into: build-temp\n#\nrm -rf ./__build-old__\nrsync -av --exclude='*.caf' ./source/ ./build-temp/\ncaf -m -c source -o build-temp\nnpm run nn\n\nnn build-temp/*\n\n# BUILD CLEAN FINIALIZING\n#  - replace old build in:   build\n#  - with new build from:    build-temp\n#\nmv build __build-old__\nmv build-temp build\nrm -rf ./__build-old__","build-watch":"nodemon -e js,ts,jsx,tsx,caf,coffee,json -w \"source/**\" -x npm run build","clean":"rm -rf build/*","nn":"nn build/* ","test":"jest","test-watch":"jest --watch"},"version":"0.1.5","watch":{"build":{"extensions":["caf","coffee"],"patterns":["source"],"quiet":false}},"gitHead":"3140bf828cabdf379d7c25fc877c26c1608c2409","_id":"@art-suite/art-core-promises@0.1.5","_nodeVersion":"24.10.0","_npmVersion":"11.6.1","dist":{"integrity":"sha512-uH07j0rh+UIYOkklke6xh9zw66AJRDq1LAPm1+SlSGNv37UyFaSOw16dcRqjdGUiKXMe2iykt9Ttt4WJFn6wKg==","shasum":"8cbd6543c2d43ecb6b8601c6f5eaad4e0a402cab","tarball":"https://registry.npmjs.org/@art-suite/art-core-promises/-/art-core-promises-0.1.5.tgz","fileCount":21,"unpackedSize":50896,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIHWRHBQdSWNJwYDi47rkr35FerZlOfv1hBvV2SObQ3SuAiEAyggH+YqCSKsCxzpeIrB9aI3SM9gnYfLGlo9FdW8/OOU="}]},"_npmUser":{"name":"shanebdavis","email":"shanebdavis@gmail.com"},"directories":{},"maintainers":[{"name":"shanebdavis","email":"shanebdavis@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/art-core-promises_0.1.5_1762507601463_0.32246705850267365"},"_hasShrinkwrap":false}},"time":{"created":"2025-05-09T08:30:10.998Z","modified":"2025-11-07T09:26:41.812Z","0.1.0":"2025-05-09T08:30:11.334Z","0.1.1":"2025-05-09T08:31:43.853Z","0.1.2":"2025-05-09T09:44:24.631Z","0.1.3":"2025-05-09T10:35:13.901Z","0.1.4":"2025-05-09T10:43:42.132Z","0.1.5":"2025-11-07T09:26:41.624Z"},"bugs":{"url":"https://github.com/art-suite/art-suite-foundations/issues"},"author":{"name":"Shane Brinkman-Davis Delamore"},"license":"ISC","homepage":"https://github.com/art-suite/art-suite-foundations","repository":{"type":"git","url":"git+https://github.com/art-suite/art-suite-foundations.git"},"description":"The Standard Library for JavaScript that aught to be.","maintainers":[{"name":"shanebdavis","email":"shanebdavis@gmail.com"}],"readme":"# @art-suite/art-core-promises\n\nA comprehensive utility library for working with JavaScript Promises, offering enhanced control, concurrency management, and utility functions. Plus, many helpful utility methods. Built on blackbird promise.\n\n## Features\n\n- Custom `Promise` implementation (or extensions) with robust typing.\n- `PromiseWorkerPool` for managing concurrent promise-based tasks.\n- `Serializer` for ensuring sequential execution of promises.\n- Utilities for external promise resolution, deep resolution of promises in structures, and more.\n- Async utilities like `interval`, `requestAnimationFrame`, and `nextTick` returning Promises.\n- Advanced error handling mechanisms for asynchronous operations.\n- TypeScript definitions for complete type safety.\n\n## Installation\n\n```bash\nnpm install @art-suite/art-core-promises\n```\n\n## API Overview\n\n### Core Promise & Resolution\n\n- **`Promise`**: The core custom Promise class/interface.\n- **`isPromise(value: any): boolean`**: Checks if a value is a promise.\n- **`newExternallyResolvable<T>(): { promise: Promise<T>, resolve: (value: T | PromiseLike<T>) => void, reject: (reason?: any) => void }`**: Creates a new promise that can be resolved or rejected externally.\n- **`withCallback(promise: Promise<any>, callback: (error?: any, value?: any) => void): void`**: Attaches a Node.js-style callback to a promise.\n\n### Promise Utilities\n\n- **`containsPromises(value: any): boolean`**: Checks if a value or a nested structure contains any promises.\n- **`deepAll(value: any): Promise<any>`**: Resolves all promises within a nested structure (objects, arrays).\n- **`invert(promise: Promise<any>): Promise<any>`**: Inverts a promise's outcome (resolution becomes rejection and vice-versa).\n- **`timeout(promise: Promise<T>, ms: number, timeoutReason?: any): Promise<T>`**: Rejects a promise if it doesn't settle within a specified time.\n- **`timeoutAt(promise: Promise<T>, timestamp: number, timeoutReason?: any): Promise<T>`**: Rejects a promise if it doesn't settle by a specific timestamp.\n- **`then(promise: Promise<T>, onFulfilled?, onRejected?): Promise<R>`**: A utility for `then` chaining, potentially for the custom `Promise`.\n- **`finally(promise: Promise<any>, onFinally: () => void): Promise<any>`**: A utility for `finally` chaining, potentially for the custom `Promise`.\n\n### Concurrency & Sequencing\n\n- **`PromiseWorkerPool`**: A class to manage a pool of promise-based workers with limited concurrency.\n  - `constructor(concurrency: number)`\n  - `add<T>(task: () => Promise<T>): Promise<T>`\n- **`Serializer`**: A class to serialize promise-returning functions, ensuring they run one after another.\n  - `constructor()`\n  - `add<T>(task: () => Promise<T>): Promise<T>`\n- **`serialize(tasks: (() => Promise<any>)[]): Promise<any[]>`**: A function to run an array of promise-returning functions sequentially.\n\n### Async & Timing Utilities\n\n- **`interval(ms: number, handler: () => (void | boolean | Promise<void | boolean>)): { stop: () => void, promise: Promise<void> }`**: Creates a repeating interval that can be stopped and whose completion can be awaited.\n- **`requestAnimationFrame(): Promise<number>`**: Returns a promise that resolves with the timestamp from `requestAnimationFrame`.\n- **`nextTick(): Promise<void>`**: Returns a promise that resolves on the next tick of the event loop.\n\n### Error Handling\n\n- **`throwErrorOutOfStack(error: any): void`**: Throws an error in a way that it's less likely to be caught by local promise catch handlers, typically by using a timeout.\n- **`evalAndThrowErrorsOutOfStack(fn: () => any): void`**: Evaluates a function and throws any errors out of the current stack.\n\n## Examples\n\n### Externally Resolvable Promise\n\n```typescript\nimport { newExternallyResolvable } from \"@art-suite/art-core-promises\";\n\nconst ert = newExternallyResolvable<string>();\n\nert.promise.then(value => console.log(\\`Resolved with: \\${value}\\`));\n\nsetTimeout(() => ert.resolve(\"Hello from the future!\"), 1000);\n```\n\n### PromiseWorkerPool\n\n```typescript\nimport { PromiseWorkerPool } from \"@art-suite/art-core-promises\";\n\nconst pool = new PromiseWorkerPool(2); // Max 2 concurrent tasks\n\nconst tasks = [\n  () => new Promise(resolve => setTimeout(() => resolve(1), 100)),\n  () => new Promise(resolve => setTimeout(() => resolve(2), 50)),\n  () => new Promise(resolve => setTimeout(() => resolve(3), 150)),\n];\n\ntasks.forEach(task => {\n  pool.add(task).then(result => console.log(\\`Task completed: \\${result}\\`));\n});\n// Will run task 1 & 2 concurrently, then task 3.\n```\n\n### Deep All\n\n```typescript\nimport { deepAll, Promise as ArtPromise } from \"@art-suite/art-core-promises\"; // Assuming custom Promise\n\nconst data = {\n  user: ArtPromise.resolve({ id: 1, name: \"Alice\" }),\n  posts: [\n    ArtPromise.resolve({ title: \"Post 1\" }),\n    Promise.resolve({ title: \"Post 2\" }), // Mix with standard promises\n  ],\n  settings: {\n    darkMode: ArtPromise.resolve(true),\n  },\n};\n\ndeepAll(data).then((resolvedData) => {\n  console.log(resolvedData.user.name); // Alice\n  console.log(resolvedData.posts[0].title); // Post 1\n});\n```\n\n## License\n\nMIT\n","readmeFilename":"README.md"}