<htmlxmlns="http://www.w3.org/1999/xhtml"><head><title>IBase__TaskBar (infer.IBase__TaskBar)</title><linkrel="stylesheet"href="../../odoc.css"/><metacharset="utf-8"/><metaname="generator"content="odoc 1.5.2"/><metaname="viewport"content="width=device-width,initial-scale=1.0"/><scriptsrc="../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body><divclass="content"><header><nav><ahref="../index.html">Up</a>–<ahref="../index.html">infer</a>» IBase__TaskBar</nav><h1>Module <code>IBase__TaskBar</code></h1></header><dl><dtclass="spec type"id="type-t"><ahref="#type-t"class="anchor"></a><code><spanclass="keyword">type</span> t</code></dt></dl><dl><dtclass="spec value"id="val-refresh"><ahref="#val-refresh"class="anchor"></a><code><spanclass="keyword">val</span> refresh : <ahref="index.html#type-t">t</a><span>-></span> unit</code></dt><dd><p>draw the taskbar</p></dd></dl><dl><dtclass="spec value"id="val-create"><ahref="#val-create"class="anchor"></a><code><spanclass="keyword">val</span> create : <span>jobs:int</span><span>-></span><ahref="index.html#type-t">t</a></code></dt><dd><p>creates a task bar for running <code>jobs</code> jobs in parallel</p></dd></dl><dl><dtclass="spec value"id="val-update_status"><ahref="#val-update_status"class="anchor"></a><code><spanclass="keyword">val</span> update_status : <ahref="index.html#type-t">t</a><span>-></span><span>slot:int</span><span>-></span> Mtime.t <span>-></span> string <span>-></span> unit</code></dt><dd><p><code>update_status task_bar ~slot t status</code> records an event described by <code>status</code> on slot <code>slot</code> started at time <code>t</code></p></dd></dl><dl><dtclass="spec value"id="val-set_tasks_total"><ahref="#val-set_tasks_total"class="anchor"></a><code><spanclass="keyword">val</span> set_tasks_total : <ahref="index.html#type-t">t</a><span>-></span> int <span>-></span> unit</code></dt><dd><p>set the total number of tasks to do</p></dd></dl><dl><dtclass="spec value"id="val-tasks_done_reset"><ahref="#val-tasks_done_reset"class="anchor"></a><code><spanclass="keyword">val</span> tasks_done_reset : <ahref="index.html#type-t">t</a><span>-></span> unit</code></dt><dd><p>record that 0 tasks have been completed so far</p></dd></dl><dl><dtclass="spec value"id="val-set_remaining_tasks"><ahref="#val-set_remaining_tasks"class="anchor"></a><code><spanclass="keyword">val</span> set_remaining_tasks : <ahref="index.html#type-t">t</a><span>-></span> int <span>-></span> unit</code></dt><dd><p>set the number of tasks remaining to complete</p></dd></dl><dl><dtclass="spec value"id="val-finish"><ahref="#val-finish"class="anchor"></a><code><spanclass="keyword">val</span> finish : <ahref="index.html#type-t">t</a><span>-></span> unit</code></dt><dd><p>tear down the task bar and ready the terminal for more output</p></dd></dl></div></body></html>