From 8a782f18153b6335dea15b789d2edadeca275f5e Mon Sep 17 00:00:00 2001 From: Ryan Liptak Date: Wed, 2 Sep 2020 17:38:44 -0700 Subject: [PATCH] doc: add uv_metrics_idle_time() version metadata Refs: https://github.com/libuv/libuv/pull/2725 PR-URL: https://github.com/libuv/libuv/pull/2984 Reviewed-By: Colin Ihrig Reviewed-By: Santiago Gimeno --- docs/src/loop.rst | 2 ++ docs/src/metrics.rst | 2 ++ 2 files changed, 4 insertions(+) diff --git a/docs/src/loop.rst b/docs/src/loop.rst index f9ebb9d4..0f5ddfb3 100644 --- a/docs/src/loop.rst +++ b/docs/src/loop.rst @@ -73,6 +73,8 @@ API This option is necessary to use :c:func:`uv_metrics_idle_time`. + .. versionchanged:: 1.39.0 added the UV_METRICS_IDLE_TIME option. + .. c:function:: int uv_loop_close(uv_loop_t* loop) Releases all internal loop resources. Call this function only when the loop diff --git a/docs/src/metrics.rst b/docs/src/metrics.rst index 223f7feb..696c620d 100644 --- a/docs/src/metrics.rst +++ b/docs/src/metrics.rst @@ -23,3 +23,5 @@ API The event loop will not begin accumulating the event provider's idle time until calling :c:type:`uv_loop_configure` with :c:type:`UV_METRICS_IDLE_TIME`. + + .. versionadded:: 1.39.0