@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/browser/index.mjs
CHANGED
|
@@ -6766,6 +6766,24 @@ var GraphSyncController = class _GraphSyncController {
|
|
|
6766
6766
|
if (registerTaskTask) {
|
|
6767
6767
|
this.splitTasksForRegistration.then(registerTaskTask);
|
|
6768
6768
|
}
|
|
6769
|
+
CadenzaService.createMetaTask(
|
|
6770
|
+
"Prepare created task for immediate sync",
|
|
6771
|
+
(ctx) => {
|
|
6772
|
+
const task = ctx.taskInstance ?? (ctx.data?.name ? CadenzaService.get(String(ctx.data.name)) : void 0);
|
|
6773
|
+
if (!task || task.hidden || !task.register || task.registered) {
|
|
6774
|
+
return false;
|
|
6775
|
+
}
|
|
6776
|
+
return {
|
|
6777
|
+
__syncing: true,
|
|
6778
|
+
tasks: [task]
|
|
6779
|
+
};
|
|
6780
|
+
},
|
|
6781
|
+
"Schedules newly created tasks into the graph sync registration flow without waiting for the next periodic tick.",
|
|
6782
|
+
{
|
|
6783
|
+
register: false,
|
|
6784
|
+
isHidden: true
|
|
6785
|
+
}
|
|
6786
|
+
).doOn("meta.task.created").then(this.splitTasksForRegistration);
|
|
6769
6787
|
CadenzaService.createUniqueMetaTask(
|
|
6770
6788
|
"Gather task registration",
|
|
6771
6789
|
() => {
|