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
2.0 KiB

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Epilogues (infer.IBase.Epilogues)</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; <a href="../index.html">IBase</a> &#x00BB; Epilogues</nav><h1>Module <code>IBase.Epilogues</code></h1></header><dl><dt class="spec value" id="val-register"><a href="#val-register" class="anchor"></a><code><span class="keyword">val</span> register : <span>f:<span>(unit <span>&#45;&gt;</span> unit)</span></span> <span>&#45;&gt;</span> <span>description:string</span> <span>&#45;&gt;</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><dt class="spec value" id="val-register_late"><a href="#val-register_late" class="anchor"></a><code><span class="keyword">val</span> register_late : <span>f:<span>(unit <span>&#45;&gt;</span> unit)</span></span> <span>&#45;&gt;</span> <span>description:string</span> <span>&#45;&gt;</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 <a href="index.html#val-register"><code>register</code></a>.</p></dd></dl><dl><dt class="spec value" id="val-run"><a href="#val-run" class="anchor"></a><code><span class="keyword">val</span> run : unit <span>&#45;&gt;</span> unit</code></dt><dt class="spec value" id="val-reset"><a href="#val-reset" class="anchor"></a><code><span class="keyword">val</span> reset : unit <span>&#45;&gt;</span> unit</code></dt></dl></div></body></html>