<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def task_wait(meow, heartbeat, polling_interval, timeout, task_id, timeout_exit_code):
 """ Executor for `globus task wait` """

    task_wait_with_io(
        meow, heartbeat, polling_interval, timeout, task_id, timeout_exit_code
    )