@kne/fastify-task 1.0.0-alpha.0 → 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -132,7 +132,11 @@ module.exports = fp(async (fastify, options) => {
132
132
  status: 'running',
133
133
  progress: 0,
134
134
  error: null,
135
- output: null
135
+ output: null,
136
+ pollCount: 0,
137
+ pollResults: [],
138
+ completedAt: null,
139
+ context: {}
136
140
  });
137
141
  executor({ type: task.type, scriptName: task.scriptName, task })
138
142
  .then(async result => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kne/fastify-task",
3
- "version": "1.0.0-alpha.0",
3
+ "version": "1.0.0",
4
4
  "description": "用于编排任务,追踪任务执行状态,结果",
5
5
  "main": "index.js",
6
6
  "scripts": {