Re:Flux Comparison by Example
by clarle on Tuesday February 03, 2015 @10:28AM
(#8990854)
For me, it's really the part where you end up having to wrap up all of your actions with `context.executeAction`.
It would be cool if there was a nice way that you could wrap an action with a function to generate that boilerplate for you, similar to how Bluebird's `Promise.promisify(myFunction)` generates a Promise-wrapped function for anything following the typical Node callback style.
It would be cool if there was a nice way that you could wrap an action with a function to generate that boilerplate for you, similar to how Bluebird's `Promise.promisify(myFunction)` generates a Promise-wrapped function for anything following the typical Node callback style.