LIST task_info(INTEGER task_id)
This function returns full information on the task specified with the argument task_id. If the task does not exist, ~type is thrown. The returned list contains a minimum of seven elements, with subsequent elements defining the specific frames, these are:
The second element preempted is true if this task was preempted, false if it was suspended. For more information on the limit elements, see config(). Remaining frame elements are eight element lists formatted as:
atomic() | caller() | cancel() | definer() | method() | pause() | refresh() | resume() | sender() | stack() | suspend() | task_id() | tasks() | this() | tick() | ticks_left() | set_user() | user() | pass() | task_info() | call_trace() | debug_callers()