From 16b254b172884ffb448256483ed46d04064aada3 Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Thu, 4 Mar 2021 22:44:06 +0300 Subject: [PATCH] notes... Signed-off-by: Alex A. Naanou --- Viewer/features/core.js | 7 +++++++ Viewer/features/sharp.js | 2 ++ 2 files changed, 9 insertions(+) diff --git a/Viewer/features/core.js b/Viewer/features/core.js index 46386852..fd0a3ce4 100755 --- a/Viewer/features/core.js +++ b/Viewer/features/core.js @@ -2926,6 +2926,13 @@ module.LinkContext = ImageGridFeatures.Feature({ // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +// XXX add ability to trigger actions when: +// - all tasks are done and/or fail +// - all session tasks are done and/or fail +// ...in theory this can be done via: +// ig.tasks +// .then(function(){ .. }) +// but this is a bit too cumbersome... // XXX revise logging and logger passing... // XXX add a task manager UI... // XXX might be a good idea to confirm session task stops when loading a diff --git a/Viewer/features/sharp.js b/Viewer/features/sharp.js index f89c00dd..3b6d8dd0 100755 --- a/Viewer/features/sharp.js +++ b/Viewer/features/sharp.js @@ -882,6 +882,8 @@ var SharpActions = actions.Actions({ // ig // .someAction() // .someOtherAction() + // ...considering how often this might be useful would be nice + // to make this a constructor/framework feature... // XXX EXPERIMENTAL... // XXX if we are not careful this may result in some data loss due