diff xml/en/docs/njs/reference.xml @ 2484:2aa02672d54f

Added a note to r.subrequest in njs.
author Yaroslav Zhuravlev <yar@nginx.com>
date Tue, 21 Jan 2020 17:01:24 +0000
parents 32b945768dea
children 9dddac1420fe
line wrap: on
line diff
--- a/xml/en/docs/njs/reference.xml
+++ b/xml/en/docs/njs/reference.xml
@@ -9,7 +9,7 @@
 <article name="Reference"
         link="/en/docs/njs/reference.html"
         lang="en"
-        rev="32">
+        rev="33">
 
 <section id="summary">
 
@@ -229,6 +229,13 @@ The completion <literal>callback</litera
 a subrequest response object with methods and properties
 identical to the parent request object.
 </para>
+
+<para>
+Since <link doc="changes.xml" id="njs0.3.8">0.3.8</link>,
+if a <literal>callback</literal> is not provided,
+the <literal>Promise</literal> object
+that resolves to the subrequest response object is returned.
+</para>
 </tag-desc>
 
 </list>