A helper which simplifies the process of creating an anonymous callback function in which you want it to receive the variables as they were when the function was declared, not at the point when it is executed.