Skip to content

Commit

Permalink
docs: mark functions as async
Browse files Browse the repository at this point in the history
  • Loading branch information
ayushmanchhabra committed Dec 1, 2023
1 parent 4cb68b7 commit d8682d2
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 8 deletions.
3 changes: 2 additions & 1 deletion docs/get.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ <h1 class="page-title">Source: get.js</h1>
/**
* Get binaries.
*
* @async
* @function
* @param {GetOptions} options Get mode options
* @return {Promise&lt;void>}
Expand Down Expand Up @@ -487,7 +488,7 @@ <h2><a href="index.html">Home</a></h2><h3>Global</h3><ul><li><a href="global.htm
<br class="clear">

<footer>
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.2</a> on Thu Nov 30 2023 23:21:46 GMT-0500 (Eastern Standard Time)
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.2</a> on Thu Nov 30 2023 23:45:21 GMT-0500 (Eastern Standard Time)
</footer>

<script> prettyPrint(); </script>
Expand Down
10 changes: 5 additions & 5 deletions docs/global.html
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ <h3 class="subsection-title">Methods</h3>



<h4 class="name" id="get"><span class="type-signature"></span>get<span class="signature">(options)</span><span class="type-signature"> &rarr; {Promise.&lt;void>}</span></h4>
<h4 class="name" id="get"><span class="type-signature">(async) </span>get<span class="signature">(options)</span><span class="type-signature"> &rarr; {Promise.&lt;void>}</span></h4>



Expand Down Expand Up @@ -205,7 +205,7 @@ <h5>Parameters:</h5>

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="get.js.html">get.js</a>, <a href="get.js.html#line84">line 84</a>
<a href="get.js.html">get.js</a>, <a href="get.js.html#line85">line 85</a>
</li></ul></dd>


Expand Down Expand Up @@ -301,7 +301,7 @@ <h5>Examples</h5>



<h4 class="name" id="run"><span class="type-signature"></span>run<span class="signature">(options)</span><span class="type-signature"> &rarr; {Promise.&lt;void>}</span></h4>
<h4 class="name" id="run"><span class="type-signature">(async) </span>run<span class="signature">(options)</span><span class="type-signature"> &rarr; {Promise.&lt;void>}</span></h4>



Expand Down Expand Up @@ -402,7 +402,7 @@ <h5>Parameters:</h5>

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="run.js.html">run.js</a>, <a href="run.js.html#line35">line 35</a>
<a href="run.js.html">run.js</a>, <a href="run.js.html#line36">line 36</a>
</li></ul></dd>


Expand Down Expand Up @@ -1395,7 +1395,7 @@ <h2><a href="index.html">Home</a></h2><h3>Global</h3><ul><li><a href="global.htm
<br class="clear">

<footer>
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.2</a> on Thu Nov 30 2023 23:21:46 GMT-0500 (Eastern Standard Time)
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.2</a> on Thu Nov 30 2023 23:45:21 GMT-0500 (Eastern Standard Time)
</footer>

<script> prettyPrint(); </script>
Expand Down
2 changes: 1 addition & 1 deletion docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ <h2><a href="index.html">Home</a></h2><h3>Global</h3><ul><li><a href="global.htm
<br class="clear">

<footer>
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.2</a> on Thu Nov 30 2023 23:21:46 GMT-0500 (Eastern Standard Time)
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.2</a> on Thu Nov 30 2023 23:45:21 GMT-0500 (Eastern Standard Time)
</footer>

<script> prettyPrint(); </script>
Expand Down
3 changes: 2 additions & 1 deletion docs/run.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ <h1 class="page-title">Source: run.js</h1>
/**
* Run NW.js application
*
* @async
* @function
* @param {options} options Run mode options
* @return {Promise&lt;void>}
Expand Down Expand Up @@ -123,7 +124,7 @@ <h2><a href="index.html">Home</a></h2><h3>Global</h3><ul><li><a href="global.htm
<br class="clear">

<footer>
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.2</a> on Thu Nov 30 2023 23:21:46 GMT-0500 (Eastern Standard Time)
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.2</a> on Thu Nov 30 2023 23:45:21 GMT-0500 (Eastern Standard Time)
</footer>

<script> prettyPrint(); </script>
Expand Down
1 change: 1 addition & 0 deletions src/get.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ const { ARCH_KV, PLATFORM_KV, replaceFfmpeg } = util;
/**
* Get binaries.
*
* @async
* @function
* @param {GetOptions} options Get mode options
* @return {Promise<void>}
Expand Down
1 change: 1 addition & 0 deletions src/run.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ const { log } = logger;
/**
* Run NW.js application
*
* @async
* @function
* @param {options} options Run mode options
* @return {Promise<void>}
Expand Down

0 comments on commit d8682d2

Please sign in to comment.