<tdclass="itemcode"><code>class function <strong><ahref="uCEFTaskManager.TCefTaskManagerRef.html#UnWrap-Pointer-">UnWrap</a></strong>(data: Pointer): <ahref="uCEFInterfaces.ICefTaskManager.html">ICefTaskManager</a>;</code></td>
<tdclass="itemcode"><code>class function <strong><ahref="uCEFTaskManager.TCefTaskManagerRef.html#New">New</a></strong>(): <ahref="uCEFInterfaces.ICefTaskManager.html">ICefTaskManager</a>;</code></td>
Gets the list of task IDs currently tracked by the task manager. Tasks that share the same process id will always be consecutive. The list will be sorted in a way that reflects the process tree: the browser process will be first, followed by the gpu process if it exists. Related processes (e.g., a subframe process and its parent) will be kept together if possible. Callers can expect this ordering to be stable when a process is added or removed. The task IDs are unique within the application lifespan. Returns false (0) if the function was called from the incorrect thread. </p>
<p>
<p>This function may only be called on the CEF UI thread.</p>
<tdclass="itemcode"><spanid="GetTaskInfo-int64-TCustomTaskInfo-"></span><code>function <strong>GetTaskInfo</strong>(const task_id: int64; var info: <ahref="uCEFTypes.TCustomTaskInfo.html">TCustomTaskInfo</a>): boolean;</code></td>
</tr>
<tr><tdcolspan="2">
<p>
Gets information about the task with |task_id|. Returns true (1) if the information about the task was successfully retrieved and false (0) if the |task_id| is invalid or the function was called from the incorrect thread. </p>
<p>
<p>This function may only be called on the CEF UI thread.</p>
Attempts to terminate a task with |task_id|. Returns false (0) if the |task_id| is invalid, the call is made from an incorrect thread, or if the task cannot be terminated. </p>
<p>
<p>This function may only be called on the CEF UI thread.</p>
Returns the task ID associated with the main task for |browser_id| (value from cef_browser_t::GetIdentifier). Returns -1 if |browser_id| is invalid, does not currently have an associated task, or the function was called from the incorrect thread. </p>
<p>
<p>This function may only be called on the CEF UI thread.</p>
<tdclass="itemcode"><spanid="UnWrap-Pointer-"></span><code>class function <strong>UnWrap</strong>(data: Pointer): <ahref="uCEFInterfaces.ICefTaskManager.html">ICefTaskManager</a>;</code></td>
</tr>
<tr><tdcolspan="2">
<pclass="nodescription">This item has no description.</p></td></tr>
<tdclass="itemcode"><spanid="New"></span><code>class function <strong>New</strong>(): <ahref="uCEFInterfaces.ICefTaskManager.html">ICefTaskManager</a>;</code></td>
</tr>
<tr><tdcolspan="2">
<p>
Returns the global task manager. </p>
<p>
<p>This function may only be called on the CEF UI thread.</p>