Message from JavaScript discussions

December 2016

— Http://pastebin.com/gmzWpTSi

— 

That factory is included inside the main datastore factory like so:

addAction: function (callback, update) {
return actionFactory(opcode, callback, update);
}

— It also bypasses the store's input processor by default, since the state being returned should already be processed

Message permanent page

— Also, it has the option of creating 2 different action types: updating and non-updating. Both get state, only one pushes it back to the store

Message permanent page

— The response not same in the two cases

— The update case revive the promise resolve and reject

— And the false case only data

— It's confused for me create and resolve the promise in the same position

— Non-updating doesn't get a promise

— All the callback does is use the resolve passed to it

— I know

— Care to elaborate?