@eggjs/schedule 6.0.2-beta.0 → 6.0.2-beta.10
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.
- package/README.md +1 -1
- package/package.json +7 -7
package/README.md
CHANGED
|
@@ -186,7 +186,7 @@ export default (agent: Agent) => {
|
|
|
186
186
|
class CustomStrategy extends agent.ScheduleStrategy {
|
|
187
187
|
start() {
|
|
188
188
|
// such as mq / redis subscribe
|
|
189
|
-
agent.notify.subscribe('remote_task', data => {
|
|
189
|
+
agent.notify.subscribe('remote_task', (data) => {
|
|
190
190
|
this.sendOne(data);
|
|
191
191
|
});
|
|
192
192
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eggjs/schedule",
|
|
3
|
-
"version": "6.0.2-beta.
|
|
3
|
+
"version": "6.0.2-beta.10",
|
|
4
4
|
"description": "schedule plugin for egg, support corn job.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"cron",
|
|
@@ -55,18 +55,18 @@
|
|
|
55
55
|
"is-type-of": "^2.2.0",
|
|
56
56
|
"safe-timers": "^1.1.0",
|
|
57
57
|
"utility": "^2.5.0",
|
|
58
|
-
"@eggjs/utils": "5.0.2-beta.
|
|
58
|
+
"@eggjs/utils": "5.0.2-beta.10"
|
|
59
59
|
},
|
|
60
60
|
"devDependencies": {
|
|
61
61
|
"@types/safe-timers": "^1.1.2",
|
|
62
62
|
"typescript": "^5.9.3",
|
|
63
|
-
"@eggjs/
|
|
64
|
-
"@eggjs/
|
|
65
|
-
"egg": "4.1.2-beta.
|
|
66
|
-
"@eggjs/tsconfig": "3.1.2-beta.
|
|
63
|
+
"@eggjs/bin": "8.0.2-beta.10",
|
|
64
|
+
"@eggjs/mock": "7.0.2-beta.10",
|
|
65
|
+
"egg": "4.1.2-beta.10",
|
|
66
|
+
"@eggjs/tsconfig": "3.1.2-beta.10"
|
|
67
67
|
},
|
|
68
68
|
"peerDependencies": {
|
|
69
|
-
"egg": "4.1.2-beta.
|
|
69
|
+
"egg": "4.1.2-beta.10"
|
|
70
70
|
},
|
|
71
71
|
"engines": {
|
|
72
72
|
"node": ">=22.18.0"
|