mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-28 18:00:09 +00:00
notes...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
30e2af325c
commit
de5fbc29c3
@ -869,10 +869,19 @@ var SharpActions = actions.Actions({
|
||||
cacheAllMetadata: ['- Sharp/Image/',
|
||||
'cacheMetadata: "all" ...'],
|
||||
|
||||
// XXX IDEA: generator action chaining...
|
||||
// might be a good idea to implement the queue/task actions as
|
||||
// generators or generator like entities to be able to chain
|
||||
// them in a simple and uniform manner...
|
||||
// XXX IDEA: action default context...
|
||||
// ...a way for an action to be run in a context by default with
|
||||
// a way to override explicitly if needed...
|
||||
// this will enable action chaining by default...
|
||||
// now:
|
||||
// ig
|
||||
// .someAction()
|
||||
// .then(function(){
|
||||
// ig.someOtherAction() })
|
||||
// target:
|
||||
// ig
|
||||
// .someAction()
|
||||
// .someOtherAction()
|
||||
|
||||
// XXX EXPERIMENTAL...
|
||||
// XXX if we are not careful this may result in some data loss due
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user