{"_id":"@delight-rpc/long-running-procedure","_rev":"7-e02a13d52e20ea2d5064be586d47d70d","name":"@delight-rpc/long-running-procedure","dist-tags":{"latest":"0.6.2"},"versions":{"0.5.0":{"name":"@delight-rpc/long-running-procedure","version":"0.5.0","author":{"name":"BlackGlory","email":"woshenmedoubuzhidao@blackglory.me"},"license":"MIT","_id":"@delight-rpc/long-running-procedure@0.5.0","maintainers":[{"name":"black_glory","email":"woshenmedoubuzhidao@blackglory.me"}],"homepage":"https://github.com/delight-rpc/long-running-procedure#readme","bugs":{"url":"https://github.com/delight-rpc/long-running-procedure/issues"},"dist":{"shasum":"7c88b213f90ca67ad62edf9a4d16549941e4e474","tarball":"https://registry.npmjs.org/@delight-rpc/long-running-procedure/-/long-running-procedure-0.5.0.tgz","fileCount":27,"integrity":"sha512-kOiqu+c988rI/hOjWxKcqRR5TZKh02cm3/rk9629163/fBgkiE28kHKwrKDYopMNY0HMNwggoYF0rfyr+uk5/Q==","signatures":[{"sig":"MEUCICCkTVsTu0a7Ns2HaJbpWLgnvCNuFWeAjr4qsWQBfbsTAiEAyB0tOlheoBaFpMd5ChH23e60VT3OncsLUa2NsIUbTBM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":29121,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkFrYCACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqSIw//Z7CE5kjiKslsAqatSiXhufxympuYMt3U+gyOZTqT23JJAA8L\r\nfi4vfoZqDXX1uoK3CB7BWYnmbJ5pKdM7IwczHjGcnt5DSqPVdgRiruoI9P1K\r\n5O+1uVG9DXIe0kv15TrT4D7z3HkgGYVqClDyGClALFW8t+eiHXZJ63FK/oQQ\r\n+SmWXX8hQLlOrcmTeMgtM0O4e2HGODBdoGf5JVmFavCOyRQv0DLpZEVELCQ+\r\nZaZ7saQriWVTRxK2DNFf8FMV8DKCMzZW9/o81inTYwFcHZ0pD5JaJKIUdRJH\r\njyIbaDh8g3ibLjEKuviepJtGYK2+9JurWfxS+hB4J0OhMPNcBVafm6qYzWgv\r\nbXAuILAJCR/lTBkz7CT2qDkDJeBpVC206m2X0Co6+Xb03+ZMiEKxJx5X9vWg\r\n1M8n3/I/QsPsSMFp49O6q++LxZyPAxgH+lfPUBkEsV9TD5Alf5FEEkVQT8m5\r\n4pBNjua7ZRRj7mZzQOCsOzPuCHtSatLnc8SInws550pYvglhuOSlSVqGo3d4\r\nlPsXzdh8RV9LEuVVDf+PBjgl0+VGIQLTgBDopky0OiUadaDg+phhfCuVMOt3\r\nCLgsczEai8kcC913pogr47gxU8ZkysyQLCyldB/k2DQtPZT1Ul71a3S8Dxwe\r\nOvZKX8W3UaSz3HhYZ6nLrreutxU/5d954jY=\r\n=mEF7\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","type":"module","husky":{"hooks":{"commit-msg":"commitlint -E HUSKY_GIT_PARAMS","pre-commit":"run-s prepare lint build test"}},"types":"lib/index.d.ts","engines":{"node":">=16"},"gitHead":"ced341d3ac2d605eb1d0d9897dacf0a92567d362","scripts":{"lint":"eslint --ext .js,.jsx,.ts,.tsx --quiet src __tests__","test":"cross-env NODE_OPTIONS=--experimental-vm-modules jest --runInBand --no-cache --config jest.config.cjs","build":"tsc --project tsconfig.build.json","clean":"rimraf lib","prepare":"ts-patch install -s","release":"standard-version","test:debug":"cross-env NODE_OPTIONS=--experimental-vm-modules node --inspect-brk node_modules/.bin/jest --runInBand --config jest.config.cjs","test:coverage":"cross-env NODE_OPTIONS=--experimental-vm-modules jest --runInBand --coverage --config jest.config.cjs","prepublishOnly":"run-s prepare clean build"},"_npmUser":{"name":"black_glory","email":"woshenmedoubuzhidao@blackglory.me"},"repository":{"url":"git+ssh://git@github.com/delight-rpc/long-running-procedure.git","type":"git"},"_npmVersion":"8.19.3","description":"```sh npm install --save @delight-rpc/long-running-procedure # or yarn add @delight-rpc/long-running-procedure ```","directories":{},"sideEffects":false,"_nodeVersion":"16.19.0","dependencies":{"nanoid":"4.0.1","extra-abort":"^0.3.2","extra-timers":"^0.2.5","return-style":"^3.0.0","extra-promise":"^6.0.5","@blackglory/errors":"^3.0.0","@blackglory/prelude":"^0.3.1","@blackglory/wait-for":"^0.7.3","@blackglory/structures":"^0.13.3"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.5.0","husky":"4","tslib":"^2.5.0","eslint":"^8.36.0","rimraf":"^3.0.2","ts-jest":"^29.0.5","ts-patch":"^2.1.0","cross-env":"^7.0.3","typescript":"5.0.2","@types/jest":"^29.5.0","npm-run-all":"^4.1.5","jest-resolve":"^29.5.0","@commitlint/cli":"^17.4.4","standard-version":"^9.3.2","@blackglory/jest-resolver":"^0.3.0","@typescript-eslint/parser":"^5.55.0","typescript-transform-paths":"^3.4.6","@commitlint/config-conventional":"^17.4.4","@typescript-eslint/eslint-plugin":"^5.55.0"},"_npmOperationalInternal":{"tmp":"tmp/long-running-procedure_0.5.0_1679209986383_0.8319436178831545","host":"s3://npm-registry-packages"}},"0.5.1":{"name":"@delight-rpc/long-running-procedure","version":"0.5.1","author":{"name":"BlackGlory","email":"woshenmedoubuzhidao@blackglory.me"},"license":"MIT","_id":"@delight-rpc/long-running-procedure@0.5.1","maintainers":[{"name":"black_glory","email":"woshenmedoubuzhidao@blackglory.me"}],"homepage":"https://github.com/delight-rpc/long-running-procedure#readme","bugs":{"url":"https://github.com/delight-rpc/long-running-procedure/issues"},"dist":{"shasum":"43cbb4269ba1d2cbcc3f3c93a9648bcc5507e1d8","tarball":"https://registry.npmjs.org/@delight-rpc/long-running-procedure/-/long-running-procedure-0.5.1.tgz","fileCount":35,"integrity":"sha512-ajsbucLjtyBRa/ZQyM4yhNSUTFP4Bdu3SNSIlaILl7yGdSfHfm2TrC9rWroDnDczknjyrQvfd78IJhFGwwpHVw==","signatures":[{"sig":"MEQCIG8B2Bmp3tEltoDrObNaSzx/ZToAsUboUec04JPiH3yQAiAUGck9ttRVBABH38C+8jURxAWl7/ce4j+/ZCiJPc/TLg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":40377},"main":"lib/index.js","type":"module","husky":{"hooks":{"commit-msg":"commitlint -E HUSKY_GIT_PARAMS","pre-commit":"run-s prepare lint build test"}},"types":"lib/index.d.ts","engines":{"node":">=16"},"gitHead":"fbeda939998e63cafec6ad03958535c685b8ba49","scripts":{"lint":"eslint --ext .js,.jsx,.ts,.tsx --quiet src __tests__","test":"cross-env NODE_OPTIONS=--experimental-vm-modules jest --runInBand --no-cache --config jest.config.cjs","build":"tsc --project tsconfig.build.json","clean":"rimraf lib","prepare":"ts-patch install -s","release":"standard-version","test:debug":"cross-env NODE_OPTIONS=--experimental-vm-modules node --inspect-brk node_modules/.bin/jest --runInBand --config jest.config.cjs","test:coverage":"cross-env NODE_OPTIONS=--experimental-vm-modules jest --runInBand --coverage --config jest.config.cjs","prepublishOnly":"run-s prepare clean build"},"_npmUser":{"name":"black_glory","email":"woshenmedoubuzhidao@blackglory.me"},"repository":{"url":"git+ssh://git@github.com/delight-rpc/long-running-procedure.git","type":"git"},"_npmVersion":"9.5.1","description":"```sh npm install --save @delight-rpc/long-running-procedure # or yarn add @delight-rpc/long-running-procedure ```","directories":{},"sideEffects":false,"_nodeVersion":"18.16.0","dependencies":{"nanoid":"4.0.1","extra-abort":"^0.3.4","extra-timers":"^0.2.5","return-style":"^3.0.0","extra-promise":"^6.0.5","@blackglory/errors":"^3.0.0","@blackglory/prelude":"^0.3.1","@blackglory/wait-for":"^0.7.3","@blackglory/structures":"^0.13.3"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.5.0","husky":"4","tslib":"^2.5.0","eslint":"^8.36.0","rimraf":"^3.0.2","ts-jest":"^29.0.5","ts-patch":"^2.1.0","cross-env":"^7.0.3","typescript":"5.0.2","@types/jest":"^29.5.0","npm-run-all":"^4.1.5","jest-resolve":"^29.5.0","@commitlint/cli":"^17.5.0","standard-version":"^9.3.2","@blackglory/jest-resolver":"^0.3.0","@typescript-eslint/parser":"^5.56.0","typescript-transform-paths":"^3.4.6","@commitlint/config-conventional":"^17.4.4","@typescript-eslint/eslint-plugin":"^5.56.0"},"_npmOperationalInternal":{"tmp":"tmp/long-running-procedure_0.5.1_1686457031417_0.4794086518686076","host":"s3://npm-registry-packages"}},"0.5.2":{"name":"@delight-rpc/long-running-procedure","version":"0.5.2","author":{"name":"BlackGlory","email":"woshenmedoubuzhidao@blackglory.me"},"license":"MIT","_id":"@delight-rpc/long-running-procedure@0.5.2","maintainers":[{"name":"black_glory","email":"woshenmedoubuzhidao@blackglory.me"}],"homepage":"https://github.com/delight-rpc/long-running-procedure#readme","bugs":{"url":"https://github.com/delight-rpc/long-running-procedure/issues"},"dist":{"shasum":"28a7b23b02e961b452e2128b6cad5370e2c0e568","tarball":"https://registry.npmjs.org/@delight-rpc/long-running-procedure/-/long-running-procedure-0.5.2.tgz","fileCount":35,"integrity":"sha512-xDQ9xRSiunNfaImQjHaJpIYPojGFY8IAtACbZ1K1lOt/ACEBTMBARRvRqjOb6LxzlVa0QWRI+g0ZzByrHTFA2A==","signatures":[{"sig":"MEQCIDLDopW+Rh5UUdCsKDrs52qsHg8K6ZKMPOEDSqhT0j93AiAgThOeZ9OeoOtWsVvm2mmlazcfkGLgvfdST0szUimJig==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":40304},"main":"lib/index.js","type":"module","husky":{"hooks":{"commit-msg":"commitlint -E HUSKY_GIT_PARAMS","pre-commit":"run-s clean prepare lint build test"}},"types":"lib/index.d.ts","engines":{"node":">=16"},"gitHead":"b9b11d099334d25cf049142d4a7e8a3e0d8f8291","scripts":{"lint":"eslint --ext .js,.jsx,.ts,.tsx --quiet src __tests__","test":"cross-env NODE_OPTIONS=--experimental-vm-modules jest --runInBand --no-cache --config jest.config.cjs","build":"tsc --project tsconfig.build.json","clean":"rimraf lib","prepare":"ts-patch install -s","release":"standard-version","prepublishOnly":"run-s prepare clean build"},"_npmUser":{"name":"black_glory","actor":{"name":"black_glory","type":"user","email":"woshenmedoubuzhidao@blackglory.me"},"email":"woshenmedoubuzhidao@blackglory.me"},"repository":{"url":"git+ssh://git@github.com/delight-rpc/long-running-procedure.git","type":"git"},"_npmVersion":"11.2.0","description":"```sh npm install --save @delight-rpc/long-running-procedure # or yarn add @delight-rpc/long-running-procedure ```","directories":{},"sideEffects":false,"_nodeVersion":"22.13.0","dependencies":{"nanoid":"4.0.1","extra-abort":"^0.3.4","extra-timers":"^0.2.5","return-style":"^3.0.0","extra-promise":"^6.0.5","@blackglory/errors":"^3.0.0","@blackglory/prelude":"^0.3.1","@blackglory/wait-for":"^0.7.3","@blackglory/structures":"^0.13.3"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.5.0","husky":"4","tslib":"^2.5.0","eslint":"^8.36.0","rimraf":"^3.0.2","ts-jest":"^29.0.5","ts-patch":"^3.3.0","cross-env":"^7.0.3","typescript":"^5.8.3","@types/jest":"^29.5.0","npm-run-all":"^4.1.5","jest-resolve":"^29.5.0","@commitlint/cli":"^17.5.0","standard-version":"^9.3.2","@blackglory/jest-resolver":"^0.3.0","@typescript-eslint/parser":"^5.56.0","typescript-transform-paths":"^3.4.6","@commitlint/config-conventional":"^17.4.4","@typescript-eslint/eslint-plugin":"^5.56.0"},"_npmOperationalInternal":{"tmp":"tmp/long-running-procedure_0.5.2_1750496445255_0.07579038602631072","host":"s3://npm-registry-packages-npm-production"}},"0.5.3":{"name":"@delight-rpc/long-running-procedure","version":"0.5.3","author":{"name":"BlackGlory","email":"woshenmedoubuzhidao@blackglory.me"},"license":"MIT","_id":"@delight-rpc/long-running-procedure@0.5.3","maintainers":[{"name":"black_glory","email":"woshenmedoubuzhidao@blackglory.me"}],"homepage":"https://github.com/delight-rpc/long-running-procedure#readme","bugs":{"url":"https://github.com/delight-rpc/long-running-procedure/issues"},"dist":{"shasum":"9ba981b8b406c343c5a561f13220d2bc041ed372","tarball":"https://registry.npmjs.org/@delight-rpc/long-running-procedure/-/long-running-procedure-0.5.3.tgz","fileCount":39,"integrity":"sha512-qlQRFiz3Pox2yKmaegS/Q0drgpLk+mlAvQyjUYpn7WoEf40uNttiFyNF0Nbi8MFajztPORckX5JJATFNR4GLGA==","signatures":[{"sig":"MEUCIHaAIRgUJdW0JqF+3rf5ea+MF2sXkA7B+l1pSjhlh3yqAiEAs1p1lEoIuaEkVUkCrOqr8GUmXufHr6y5dbhMJE4IIow=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":41692},"main":"lib/index.js","type":"module","husky":{"hooks":{"commit-msg":"commitlint -E HUSKY_GIT_PARAMS","pre-commit":"run-s clean prepare lint build test"}},"types":"lib/index.d.ts","engines":{"node":">=16"},"gitHead":"d326a1d0d2c1b868c443311062b4484ca754dc01","scripts":{"lint":"eslint --ext .js,.jsx,.ts,.tsx --quiet src __tests__","test":"cross-env NODE_OPTIONS=--experimental-vm-modules jest --runInBand --no-cache --config jest.config.cjs","build":"tsc --project tsconfig.build.json","clean":"rimraf lib","prepare":"ts-patch install -s","release":"standard-version","prepublishOnly":"run-s prepare clean build"},"_npmUser":{"name":"black_glory","email":"woshenmedoubuzhidao@blackglory.me"},"repository":{"url":"git+ssh://git@github.com/delight-rpc/long-running-procedure.git","type":"git"},"_npmVersion":"11.7.0","description":"```sh npm install --save @delight-rpc/long-running-procedure # or yarn add @delight-rpc/long-running-procedure ```","directories":{},"sideEffects":false,"_nodeVersion":"22.17.0","dependencies":{"nanoid":"4.0.1","extra-abort":"^0.3.4","extra-timers":"^0.2.5","return-style":"^3.0.0","extra-promise":"^6.0.5","@blackglory/errors":"^3.0.0","@blackglory/prelude":"^0.3.1","@blackglory/wait-for":"^0.7.3","@blackglory/structures":"^0.13.3"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.5.0","husky":"4","tslib":"^2.5.0","eslint":"^8.36.0","rimraf":"^3.0.2","ts-jest":"^29.0.5","ts-patch":"^3.3.0","cross-env":"^7.0.3","typescript":"^5.8.3","@types/jest":"^29.5.0","npm-run-all":"^4.1.5","jest-resolve":"^29.5.0","@commitlint/cli":"^17.5.0","standard-version":"^9.3.2","@blackglory/jest-resolver":"^0.3.0","@typescript-eslint/parser":"^5.56.0","typescript-transform-paths":"^3.4.6","@commitlint/config-conventional":"^17.4.4","@typescript-eslint/eslint-plugin":"^5.56.0"},"_npmOperationalInternal":{"tmp":"tmp/long-running-procedure_0.5.3_1772005705274_0.5174480409610878","host":"s3://npm-registry-packages-npm-production"}},"0.6.0":{"name":"@delight-rpc/long-running-procedure","version":"0.6.0","author":{"name":"BlackGlory","email":"woshenmedoubuzhidao@blackglory.me"},"license":"MIT","_id":"@delight-rpc/long-running-procedure@0.6.0","maintainers":[{"name":"black_glory","email":"woshenmedoubuzhidao@blackglory.me"}],"homepage":"https://github.com/delight-rpc/long-running-procedure#readme","bugs":{"url":"https://github.com/delight-rpc/long-running-procedure/issues"},"dist":{"shasum":"04a0a18d4a858d019c9f098b49b396764d7c60d8","tarball":"https://registry.npmjs.org/@delight-rpc/long-running-procedure/-/long-running-procedure-0.6.0.tgz","fileCount":35,"integrity":"sha512-sxRvnmUsMfrkBo9/9f5Zm4S4pOtD9brX7RvJJrEa5X9eMyGZeXTWklIBfA+i+ptxFZzL2sLpoYcOUKvmCpQgIg==","signatures":[{"sig":"MEUCIQCP4sERHbZsQEZF8LsgdE6Lz51xlqFxy+PZ5oiR0FSThgIgGcTcJLpLTUrLjOKA+NJuLwoKvaDkwxRJoSmUNdk0qnA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":40118},"main":"lib/index.js","type":"module","husky":{"hooks":{"commit-msg":"commitlint -E HUSKY_GIT_PARAMS","pre-commit":"run-s clean prepare lint build test"}},"types":"lib/index.d.ts","engines":{"node":">=22"},"gitHead":"827e8f061bc36710df7528eace7dc4b5fc705f79","scripts":{"lint":"eslint --ext .js,.jsx,.ts,.tsx --quiet src","test":"vitest run","build":"tsc --project tsconfig.build.json","clean":"rimraf lib","prepare":"ts-patch install -s","release":"standard-version","prepublishOnly":"run-s prepare clean build"},"_npmUser":{"name":"black_glory","email":"woshenmedoubuzhidao@blackglory.me"},"repository":{"url":"git+ssh://git@github.com/delight-rpc/long-running-procedure.git","type":"git"},"_npmVersion":"11.7.0","description":"```sh npm install --save @delight-rpc/long-running-procedure # or yarn add @delight-rpc/long-running-procedure ```","directories":{},"sideEffects":false,"_nodeVersion":"22.17.0","dependencies":{"nanoid":"5.1.6","extra-abort":"^0.4.1","extra-timers":"^0.3.0","return-style":"^4.0.0","extra-promise":"^7.1.1","@blackglory/errors":"^3.1.0","@blackglory/prelude":"^0.4.0","@blackglory/wait-for":"^0.8.5","@blackglory/structures":"^0.14.12"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^7.3.1","husky":"4","tslib":"^2.5.0","eslint":"^10.0.2","rimraf":"^6.1.3","vitest":"^4.0.18","ts-patch":"^3.3.0","cross-env":"^10.1.0","@eslint/js":"^10.0.1","typescript":"^5.9.3","npm-run-all":"^4.1.5","@commitlint/cli":"^20.4.2","standard-version":"^9.3.2","typescript-eslint":"^8.56.1","vite-tsconfig-paths":"^6.1.1","typescript-transform-paths":"^3.5.6","@commitlint/config-conventional":"^20.4.2"},"_npmOperationalInternal":{"tmp":"tmp/long-running-procedure_0.6.0_1772006329494_0.7281689262806219","host":"s3://npm-registry-packages-npm-production"}},"0.6.1":{"name":"@delight-rpc/long-running-procedure","version":"0.6.1","author":{"name":"BlackGlory","email":"woshenmedoubuzhidao@blackglory.me"},"license":"MIT","_id":"@delight-rpc/long-running-procedure@0.6.1","maintainers":[{"name":"black_glory","email":"woshenmedoubuzhidao@blackglory.me"}],"homepage":"https://github.com/delight-rpc/long-running-procedure#readme","bugs":{"url":"https://github.com/delight-rpc/long-running-procedure/issues"},"dist":{"shasum":"9493d7e20d31ca160d0bbbc566420349916acf02","tarball":"https://registry.npmjs.org/@delight-rpc/long-running-procedure/-/long-running-procedure-0.6.1.tgz","fileCount":35,"integrity":"sha512-AEzy1h3FN3alE2N2OKiZOgu7NGk95dydACxhDtm2PDqgaQYJIekCVD8C1WFDi81HP19Vo2zSq3bCvg92561Lmw==","signatures":[{"sig":"MEYCIQC9MoaD4gJb0uGK3lXVEBfsEZZXbegGNHwUZPPvj1eEhgIhAL3Te8MG83w04pE/jSFObCdx2zol5zxox7QA3fu7BsDI","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":44565},"main":"lib/index.js","type":"module","husky":{"hooks":{"commit-msg":"commitlint -E HUSKY_GIT_PARAMS","pre-commit":"run-s clean prepare lint build test"}},"types":"lib/index.d.ts","engines":{"node":">=22"},"gitHead":"3161d4270698d19783cc8249c74fb0dea81ed6f7","scripts":{"lint":"eslint --ext .js,.jsx,.ts,.tsx --quiet src","test":"vitest run","build":"tsc --project tsconfig.build.json","clean":"rimraf lib","prepare":"ts-patch install -s","release":"standard-version","prepublishOnly":"run-s prepare clean build"},"_npmUser":{"name":"black_glory","email":"woshenmedoubuzhidao@blackglory.me"},"repository":{"url":"git+ssh://git@github.com/delight-rpc/long-running-procedure.git","type":"git"},"_npmVersion":"10.9.4","description":"```sh npm install --save @delight-rpc/long-running-procedure # or yarn add @delight-rpc/long-running-procedure ```","directories":{},"sideEffects":false,"_nodeVersion":"22.22.0","dependencies":{"nanoid":"5.1.6","extra-abort":"^0.4.1","extra-defer":"^0.3.1","extra-utils":"^5.21.0","extra-timers":"^0.3.0","return-style":"^4.0.0","extra-promise":"^7.1.1","@blackglory/errors":"^3.1.0","@blackglory/prelude":"^0.4.0","@blackglory/wait-for":"^0.8.5","@blackglory/structures":"^0.14.12"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^7.3.1","husky":"4","tslib":"^2.5.0","eslint":"^10.0.2","rimraf":"^6.1.3","vitest":"^4.0.18","ts-patch":"^3.3.0","cross-env":"^10.1.0","@eslint/js":"^10.0.1","typescript":"^5.9.3","npm-run-all":"^4.1.5","@commitlint/cli":"^20.4.2","standard-version":"^9.3.2","typescript-eslint":"^8.56.1","vite-tsconfig-paths":"^6.1.1","typescript-transform-paths":"^3.5.6","@commitlint/config-conventional":"^20.4.2"},"_npmOperationalInternal":{"tmp":"tmp/long-running-procedure_0.6.1_1772185341952_0.8552393583104749","host":"s3://npm-registry-packages-npm-production"}},"0.6.2":{"name":"@delight-rpc/long-running-procedure","version":"0.6.2","description":"```sh npm install --save @delight-rpc/long-running-procedure # or yarn add @delight-rpc/long-running-procedure ```","type":"module","main":"lib/index.js","types":"lib/index.d.ts","sideEffects":false,"repository":{"type":"git","url":"git+ssh://git@github.com/delight-rpc/long-running-procedure.git"},"author":{"name":"BlackGlory","email":"woshenmedoubuzhidao@blackglory.me"},"license":"MIT","engines":{"node":">=22"},"scripts":{"prepare":"ts-patch install -s","lint":"eslint --ext .js,.jsx,.ts,.tsx --quiet src","test":"vitest run","prepublishOnly":"run-s prepare clean build","clean":"rimraf lib","build":"tsc --project tsconfig.build.json","release":"standard-version"},"husky":{"hooks":{"pre-commit":"run-s clean prepare lint build test","commit-msg":"commitlint -E HUSKY_GIT_PARAMS"}},"devDependencies":{"@commitlint/cli":"^20.4.2","@commitlint/config-conventional":"^20.4.2","@eslint/js":"^10.0.1","cross-env":"^10.1.0","eslint":"^10.0.2","husky":"4","npm-run-all":"^4.1.5","rimraf":"^6.1.3","standard-version":"^9.3.2","ts-patch":"^3.3.0","tslib":"^2.5.0","typescript":"^5.9.3","typescript-eslint":"^8.56.1","typescript-transform-paths":"^3.5.6","vite":"^7.3.1","vite-tsconfig-paths":"^6.1.1","vitest":"^4.0.18"},"dependencies":{"@blackglory/errors":"^3.1.0","@blackglory/prelude":"^0.4.0","@blackglory/structures":"^0.14.12","@blackglory/wait-for":"^0.8.5","extra-abort":"^0.4.1","extra-defer":"^0.3.1","extra-promise":"^7.1.1","extra-timers":"^0.3.0","extra-utils":"^5.21.0","nanoid":"5.1.6","return-style":"^4.0.0"},"gitHead":"a405deeffea82c31aabf44a006b034e2c4cf2b7f","_id":"@delight-rpc/long-running-procedure@0.6.2","bugs":{"url":"https://github.com/delight-rpc/long-running-procedure/issues"},"homepage":"https://github.com/delight-rpc/long-running-procedure#readme","_nodeVersion":"22.17.0","_npmVersion":"11.7.0","dist":{"integrity":"sha512-UPKr0XI+Jt00pWlPydc89N/TDa6X4VU6E0ilDzNyI4b4swM25vO3IgxgrKYbJS0MLegiuaQpVypg8spOjs20LQ==","shasum":"d3a9b6072fb6fbebad5ddbfbb0e852b57fdb4720","tarball":"https://registry.npmjs.org/@delight-rpc/long-running-procedure/-/long-running-procedure-0.6.2.tgz","fileCount":35,"unpackedSize":45549,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIEBdb0/zlfSbePKpFoibIqUoizH8qDI9VAbC+0RJW314AiEA5wersxo+myAWX2p6P/NX6t2O0XXdyaJ4HkPT2IIdN7g="}]},"_npmUser":{"name":"black_glory","email":"woshenmedoubuzhidao@blackglory.me"},"directories":{},"maintainers":[{"name":"black_glory","email":"woshenmedoubuzhidao@blackglory.me"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/long-running-procedure_0.6.2_1772188527940_0.13644309126244636"},"_hasShrinkwrap":false}},"time":{"created":"2023-03-19T07:13:06.309Z","modified":"2026-02-27T10:35:28.195Z","0.5.0":"2023-03-19T07:13:06.544Z","0.5.1":"2023-06-11T04:17:11.591Z","0.5.2":"2025-06-21T09:00:45.441Z","0.5.3":"2026-02-25T07:48:25.433Z","0.6.0":"2026-02-25T07:58:49.657Z","0.6.1":"2026-02-27T09:42:22.105Z","0.6.2":"2026-02-27T10:35:28.083Z"},"bugs":{"url":"https://github.com/delight-rpc/long-running-procedure/issues"},"author":{"name":"BlackGlory","email":"woshenmedoubuzhidao@blackglory.me"},"license":"MIT","homepage":"https://github.com/delight-rpc/long-running-procedure#readme","repository":{"type":"git","url":"git+ssh://git@github.com/delight-rpc/long-running-procedure.git"},"description":"```sh npm install --save @delight-rpc/long-running-procedure # or yarn add @delight-rpc/long-running-procedure ```","maintainers":[{"name":"black_glory","email":"woshenmedoubuzhidao@blackglory.me"}],"readme":"# long-running-procedure\n## Install\n```sh\nnpm install --save @delight-rpc/long-running-procedure\n# or\nyarn add @delight-rpc/long-running-procedure\n```\n\n## API\n```ts\nenum CallState {\n  Pending\n, Settled\n}\n\ninterface ILongRunningProcedure<Args extends unknown[], Result> {\n  /**\n   * 调用此过程.\n   * \n   * @returns 该调用的id.\n   */\n  call(args: Args): Awaitable<string>\n\n  /**\n   * 中断一个还未完成的调用.\n   * 如果该调用已经完成或调用不存在, 该函数会静默失败.\n   */\n  abort(id: string): Awaitable<Nullish>\n\n  /**\n   * 返回调用的状态.\n   * \n   * @throws {CallNotFound}\n   */\n  getState(id: string): Awaitable<CallState>\n\n  /**\n   * 获取调用的结果, 如果调用尚未完成, 则会阻塞直到完成.\n   * \n   * @throws {CallNotFound}\n   */\n  getResult(id: string): Awaitable<Result>\n\n  /**\n   * 删除一个已经完成的调用, 这会导致与该调用相关的信息被删除.\n   * 如果该调用还未完成, 则该操作会抛出错误.\n   * 如果该调用已经删除, 则该操作会静默失败.\n   */\n  remove(id: string): Awaitable<Nullish>\n}\n\nclass CallNotFound extends CustomError {}\n```\n\n### LongRunningProcedure\n```ts\nclass LongRunningProcedure<Args extends unknown[], Result, Error>\nimplements ILongRunningProcedure<Args, Result> {\n  /**\n   * 超时和TTL的存在是为了减缓错误的实现耗尽存储空间的速度.\n   * \n   * @param timeout 调用的超时时间(毫秒), 超时的调用会被自动中断.\n   * @param timeToLive 调用从完成开始计算的存活时间(毫秒), 超出存活时间的调用会被删除.\n   */\n  constructor(\n    procedure: (...args: [...Args, AbortSignal]) => PromiseLike<Result>\n  , options?: {\n      store?: Store<Result, Error>\n      timeout?: number\n      timeToLive?: number\n    }\n  )\n}\n```\n\n### Caller\n```ts\ninterface ILongRunningProcedureCaller<Args extends unknown[], Result> {\n  call(...args: [...args: Args, signal: AbortSignal]): Promise<Result>\n}\n```\n\n#### LongRunningProcedureCaller\n```ts\n/**\n * 以长连接方式接收长时运行过程的结果, 结果会尽快返回.\n * 请注意, 在一些信道上维持长连接需要付出成本.\n */\nclass LongRunningProcedureCaller<Args extends unknown[], Result>\nimplements ILongRunningProcedureCaller<Args, Result> {\n  constructor(procedure: ILongRunningProcedure<Args, Result>)\n}\n```\n\n#### LongRunningProcedurePollingCaller\n```ts\n/**\n * 以轮询方式接收长时运行过程的结果, 这无法尽快返回结果.\n * 请注意, 视轮询间隔, 可能会造成很多被浪费的请求.\n */\nclass LongRunningProcedurePollingCaller<Args extends unknown[], Result>\nimplements ILongRunningProcedureCaller<Args, Result> {\n  constructor(\n    procedure: ILongRunningProcedure<Args, Result>\n  , pollingInterval: number\n  )\n}\n```\n\n### Store\n```ts\nenum StoreItemState {\n  Pending\n, Resolved\n, Rejected\n}\n\ninterface Store<Result, Error> {\n  set(\n    id: string\n  , value:\n    | [StoreItemState.Pending]\n    | [StoreItemState.Resolved, Result]\n    | [StoreItemState.Rejected, Error]\n  , timeToLive?: number\n  ): Awaitable<Nullish>\n\n  get(id: string): Awaitable<Nullable<\n  | [StoreItemState.Pending]\n  | [StoreItemState.Resolved, Result]\n  | [StoreItemState.Rejected, Error]\n  >>\n\n  delete(id: string): Awaitable<Nullish>\n}\n```\n\n#### MemoryStore\n```ts\nclass MemoryStore<Result, Error> implements Store<Result, Error> {}\n```\n","readmeFilename":"README.md"}