Invoke a function after a function.