文件名称:exquisite:由SQS驱动的离线任务
文件大小:5KB
文件格式:ZIP
更新时间:2024-05-27 11:05:19
JavaScript
精美的 离线任务。 xsqst。 用法 var exquisite = require ( "exquisite" ) ; var worker = exquisite ( { name : "test" , // queue name; if a queue does not exist with this name it will // be created maxAttempts : 10 // optional } , function ( task , callback ) { console . log ( "worker #1:" , task ) ; return setTimeout ( callback , 5000 ) ; } ) ; // stop a worker from receiving new tas
【文件预览】:
exquisite-master
----.gitignore(18B)
----README.md(3KB)
----CHANGELOG.md(789B)
----package.json(484B)
----index.js(8KB)