I'm also wondering what you're trying to do. In the post that PointC linked to, I mentioned promises, which might be a better option.    A promise is a proxy for something in the future, and will let you compose stuff just like you described in this post. Look at how many times you used the word "then". Now look at the syntax to run a chain of promises.   putYourRightFootIn() .then(putYourRightFootOut) .then(putYourRightFootIn) .then(shakeItAllAbout);   You can
    • Like