@cadenza.io/service 2.17.45 → 2.17.46
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/dist/browser/index.js +18 -0
- package/dist/browser/index.js.map +1 -1
- package/dist/browser/index.mjs +18 -0
- package/dist/browser/index.mjs.map +1 -1
- package/dist/index.js +18 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +18 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -9279,6 +9279,24 @@ var GraphSyncController = class _GraphSyncController {
|
|
|
9279
9279
|
if (registerTaskTask) {
|
|
9280
9280
|
this.splitTasksForRegistration.then(registerTaskTask);
|
|
9281
9281
|
}
|
|
9282
|
+
CadenzaService.createMetaTask(
|
|
9283
|
+
"Prepare created task for immediate sync",
|
|
9284
|
+
(ctx) => {
|
|
9285
|
+
const task = ctx.taskInstance ?? (ctx.data?.name ? CadenzaService.get(String(ctx.data.name)) : void 0);
|
|
9286
|
+
if (!task || task.hidden || !task.register || task.registered) {
|
|
9287
|
+
return false;
|
|
9288
|
+
}
|
|
9289
|
+
return {
|
|
9290
|
+
__syncing: true,
|
|
9291
|
+
tasks: [task]
|
|
9292
|
+
};
|
|
9293
|
+
},
|
|
9294
|
+
"Schedules newly created tasks into the graph sync registration flow without waiting for the next periodic tick.",
|
|
9295
|
+
{
|
|
9296
|
+
register: false,
|
|
9297
|
+
isHidden: true
|
|
9298
|
+
}
|
|
9299
|
+
).doOn("meta.task.created").then(this.splitTasksForRegistration);
|
|
9282
9300
|
CadenzaService.createUniqueMetaTask(
|
|
9283
9301
|
"Gather task registration",
|
|
9284
9302
|
() => {
|