Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2021-03-02 23:44:38 +03:00
parent 30e2af325c
commit de5fbc29c3

View File

@ -869,10 +869,19 @@ var SharpActions = actions.Actions({
cacheAllMetadata: ['- Sharp/Image/', cacheAllMetadata: ['- Sharp/Image/',
'cacheMetadata: "all" ...'], 'cacheMetadata: "all" ...'],
// XXX IDEA: generator action chaining... // XXX IDEA: action default context...
// might be a good idea to implement the queue/task actions as // ...a way for an action to be run in a context by default with
// generators or generator like entities to be able to chain // a way to override explicitly if needed...
// them in a simple and uniform manner... // this will enable action chaining by default...
// now:
// ig
// .someAction()
// .then(function(){
// ig.someOtherAction() })
// target:
// ig
// .someAction()
// .someOtherAction()
// XXX EXPERIMENTAL... // XXX EXPERIMENTAL...
// XXX if we are not careful this may result in some data loss due // XXX if we are not careful this may result in some data loss due