You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

2 lines
1.7 KiB

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Backend__Tasks (infer.Backend__Tasks)</title><link rel="stylesheet" href="../../odoc.css"/><meta charset="utf-8"/><meta name="generator" content="odoc 1.5.1"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body><div class="content"><header><nav><a href="../index.html">Up</a> <a href="../index.html">infer</a> &#x00BB; Backend__Tasks</nav><h1>Module <code>Backend__Tasks</code></h1></header><dl><dt class="spec type" id="type-doer"><a href="#type-doer" class="anchor"></a><code><span class="keyword">type</span> <span>('a, 'b) doer</span></code><code> = <span class="type-var">'a</span> <span>&#45;&gt;</span> <span><span class="type-var">'b</span> option</span></code></dt></dl><dl><dt class="spec value" id="val-run_sequentially"><a href="#val-run_sequentially" class="anchor"></a><code><span class="keyword">val</span> run_sequentially : <span>f:<span><span>(<span class="type-var">'a</span>, <span class="type-var">'b</span>)</span> <a href="index.html#type-doer">doer</a></span></span> <span>&#45;&gt;</span> <span><span class="type-var">'a</span> list</span> <span>&#45;&gt;</span> unit</code></dt><dd><p>Run the tasks sequentially</p></dd></dl><dl><dt class="spec module" id="module-Runner"><a href="#module-Runner" class="anchor"></a><code><span class="keyword">module</span> <a href="Runner/index.html">Runner</a> : <span class="keyword">sig</span> ... <span class="keyword">end</span></code></dt><dd><p>A runner accepts new tasks repeatedly for parallel execution</p></dd></dl></div></body></html>