<htmlxmlns="http://www.w3.org/1999/xhtml"><head><title>Epilogues (infer.IBase.Epilogues)</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>»<ahref="../index.html">IBase</a>» Epilogues</nav><h1>Module <code>IBase.Epilogues</code></h1></header><dl><dtclass="spec value"id="val-register"><ahref="#val-register"class="anchor"></a><code><spanclass="keyword">val</span> register : <span>f:<span>(unit <span>-></span> unit)</span></span><span>-></span><span>description:string</span><span>-></span> unit</code></dt><dd><p>Register a function to run when the program exits or is interrupted. Registered functions are run in the reverse order in which they were registered.</p></dd></dl><dl><dtclass="spec value"id="val-register_late"><ahref="#val-register_late"class="anchor"></a><code><spanclass="keyword">val</span> register_late : <span>f:<span>(unit <span>-></span> unit)</span></span><span>-></span><span>description:string</span><span>-></span> unit</code></dt><dd><p>Register a function to run when the program exits or is interrupted. Registered functions are run in the reverse order in which they were registered, but *after* the ones registered with <ahref="index.html#val-register"><code>register</code></a>.</p></dd></dl><dl><dtclass="spec value"id="val-run"><ahref="#val-run"class="anchor"></a><code><spanclass="keyword">val</span> run : unit <span>-></span> unit</code></dt><dtclass="spec value"id="val-reset"><ahref="#val-reset"class="anchor"></a><code><spanclass="keyword">val</span> reset : unit <span>-></span> unit</code></dt></dl></div></body></html>