ocaml-opentelemetry/lwt/Lwt_rte/index.html
2026-04-06 19:57:49 +00:00

2 lines
3.4 KiB
HTML
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Lwt_rte (lwt.Lwt_rte)</title><meta charset="utf-8"/><link rel="stylesheet" href="../../_odoc-theme/odoc.css"/><meta name="generator" content="odoc 3.1.0"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body class="odoc"><nav class="odoc-nav"><a href="../index.html">Up</a> <a href="../../index.html">Index</a> &#x00BB; <a href="../index.html">lwt</a> &#x00BB; Lwt_rte</nav><header class="odoc-preamble"><h1>Module <code><span>Lwt_rte</span></code></h1><p>All the functions below are wrappers around the ones found in <code>Lwt_runtime_events</code>. The wrappers conditionally call the correspoding wrapped function or do nothing, depending if the <code>Lwt_runtime_events</code> library is available.</p><p>Note that <code>Lwt_runtime_events</code> is only installable with OCaml 5.1+</p></header><div class="odoc-content"><div class="odoc-spec"><div class="spec value anchored" id="val-emit_paused_count"><a href="#val-emit_paused_count" class="anchor"></a><code><span><span class="keyword">val</span> emit_paused_count : <span>int <span class="arrow">&#45;&gt;</span></span> unit</span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-emit_sch_call_begin"><a href="#val-emit_sch_call_begin" class="anchor"></a><code><span><span class="keyword">val</span> emit_sch_call_begin : <span>unit <span class="arrow">&#45;&gt;</span></span> unit</span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-emit_sch_call_end"><a href="#val-emit_sch_call_end" class="anchor"></a><code><span><span class="keyword">val</span> emit_sch_call_end : <span>unit <span class="arrow">&#45;&gt;</span></span> unit</span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-emit_sch_lap"><a href="#val-emit_sch_lap" class="anchor"></a><code><span><span class="keyword">val</span> emit_sch_lap : <span>unit <span class="arrow">&#45;&gt;</span></span> unit</span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-emit_job_count"><a href="#val-emit_job_count" class="anchor"></a><code><span><span class="keyword">val</span> emit_job_count : <span>int <span class="arrow">&#45;&gt;</span></span> unit</span></code></div></div><div class="odoc-spec"><div class="spec type anchored" id="type-span"><a href="#type-span" class="anchor"></a><code><span><span class="keyword">type</span> span</span><span> = </span></code><ol><li id="type-span.Begin" class="def variant constructor anchored"><a href="#type-span.Begin" class="anchor"></a><code><span>| </span><span><span class="constructor">Begin</span></span></code></li><li id="type-span.End" class="def variant constructor anchored"><a href="#type-span.End" class="anchor"></a><code><span>| </span><span><span class="constructor">End</span></span></code></li></ol></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-emit_trace"><a href="#val-emit_trace" class="anchor"></a><code><span><span class="keyword">val</span> emit_trace : <span><a href="#type-span">span</a> <span class="arrow">&#45;&gt;</span></span> <span><span>string option</span> <span class="arrow">&#45;&gt;</span></span> <span>string <span class="arrow">&#45;&gt;</span></span> <span>int <span class="arrow">&#45;&gt;</span></span> unit</span></code></div></div></div></body></html>