I have a series of functions that I want to have the following functionality.

  • When the function is called, add itself to a list of functions remembering the parameters and values
  • Allow the list of functions to be called at a later date

The different functions have a variety of different parameters and I'm struggling to think of an elegant way to do this. Any help would be appreciated.

Edit
Report