#38 Pipe multiple actions

Let’s say you have a button and you want it to perform multiple actions.  Something like:

There’s a better way to do this:

NOTE: You will have to move your action1, 2 and 3 methods into the actions hash.
You can do that with the pipe helper in DockYard’s addon ember-composable-helpers.

PS: Thank you @dockyard for https://github.com/DockYard/ember-composable-helpers#pipe


Also published on Medium.

Published by

Emad Ibrahim

Author of asp .net MVC & TDD, entrepreneur, passionate technologist, programmer and productivity nut. more at http://t.co/oSJXPvzu