apply
Description:
Runs the function with the given task environment as the common task environment.
This is equivalent to:
TaskEnv.push(task_env);
func();
TaskEnv.pop();
Runs the function with the given task environment as the common task environment.
This is equivalent to:
TaskEnv.push(task_env);
func();
TaskEnv.pop();