Skip to content

Commit 163dbd4

Browse files
committed
chore(nodejs): doc fix
1 parent 15c1de3 commit 163dbd4

File tree

9 files changed

+14
-14
lines changed

9 files changed

+14
-14
lines changed

docs/Sender.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1095,7 +1095,7 @@ <h5>Returns:</h5>
10951095

10961096

10971097

1098-
<h4 class="name" id="flush"><span class="type-signature">(async) </span>flush<span class="signature">()</span><span class="type-signature"> &rarr; {boolean}</span></h4>
1098+
<h4 class="name" id="flush"><span class="type-signature">(async) </span>flush<span class="signature">()</span><span class="type-signature"> &rarr; {Promise.&lt;boolean>}</span></h4>
10991099

11001100

11011101

@@ -1177,7 +1177,7 @@ <h5>Returns:</h5>
11771177

11781178

11791179
<div class="param-desc">
1180-
Returns true if there was data in the buffer to send.
1180+
Resolves to true if there was data in the buffer to send.
11811181
</div>
11821182

11831183

@@ -1188,7 +1188,7 @@ <h5>Returns:</h5>
11881188
</dt>
11891189
<dd>
11901190

1191-
<span class="param-type">boolean</span>
1191+
<span class="param-type">Promise.&lt;boolean></span>
11921192

11931193

11941194
</dd>
@@ -2359,7 +2359,7 @@ <h2><a href="index.html">Home</a></h2><h3>Modules</h3><ul><li><a href="module-@q
23592359
<br class="clear">
23602360

23612361
<footer>
2362-
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.11</a> on Mon Aug 15 2022 11:44:43 GMT+0100 (British Summer Time)
2362+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.11</a> on Mon Aug 15 2022 11:54:33 GMT+0100 (British Summer Time)
23632363
</footer>
23642364

23652365
<script> prettyPrint(); </script>

docs/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ <h2><a href="index.html">Home</a></h2><h3>Modules</h3><ul><li><a href="module-@q
176176
<br class="clear">
177177

178178
<footer>
179-
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.11</a> on Mon Aug 15 2022 11:44:43 GMT+0100 (British Summer Time)
179+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.11</a> on Mon Aug 15 2022 11:54:33 GMT+0100 (British Summer Time)
180180
</footer>
181181

182182
<script> prettyPrint(); </script>

docs/index.js.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ <h2><a href="index.html">Home</a></h2><h3>Modules</h3><ul><li><a href="module-@q
5353
<br class="clear">
5454

5555
<footer>
56-
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.11</a> on Mon Aug 15 2022 11:44:43 GMT+0100 (British Summer Time)
56+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.11</a> on Mon Aug 15 2022 11:54:33 GMT+0100 (British Summer Time)
5757
</footer>
5858

5959
<script> prettyPrint(); </script>

docs/module-@questdb_nodejs-client.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ <h2><a href="index.html">Home</a></h2><h3>Modules</h3><ul><li><a href="module-@q
156156
<br class="clear">
157157

158158
<footer>
159-
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.11</a> on Mon Aug 15 2022 11:44:43 GMT+0100 (British Summer Time)
159+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.11</a> on Mon Aug 15 2022 11:54:33 GMT+0100 (British Summer Time)
160160
</footer>
161161

162162
<script> prettyPrint(); </script>

docs/src_sender.js.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ <h1 class="page-title">Source: src/sender.js</h1>
185185
* Sends the buffer's content to the database and compacts the buffer.
186186
* If the last row is not finished it stays in the sender's buffer.
187187
*
188-
* @return {boolean} Returns true if there was data in the buffer to send.
188+
* @return {Promise&lt;boolean>} Resolves to true if there was data in the buffer to send.
189189
*/
190190
async flush() {
191191
const data = this.toBuffer(this.endOfLastRow);
@@ -508,7 +508,7 @@ <h2><a href="index.html">Home</a></h2><h3>Modules</h3><ul><li><a href="module-@q
508508
<br class="clear">
509509

510510
<footer>
511-
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.11</a> on Mon Aug 15 2022 11:44:43 GMT+0100 (British Summer Time)
511+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.11</a> on Mon Aug 15 2022 11:54:33 GMT+0100 (British Summer Time)
512512
</footer>
513513

514514
<script> prettyPrint(); </script>

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@questdb/nodejs-client",
3-
"version": "0.0.33",
3+
"version": "0.0.34",
44
"description": "QuestDB Node.js Client",
55
"main": "index.js",
66
"types": "types/index.d.ts",

src/sender.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ class Sender {
157157
* Sends the buffer's content to the database and compacts the buffer.
158158
* If the last row is not finished it stays in the sender's buffer.
159159
*
160-
* @return {boolean} Returns true if there was data in the buffer to send.
160+
* @return {Promise<boolean>} Resolves to true if there was data in the buffer to send.
161161
*/
162162
async flush() {
163163
const data = this.toBuffer(this.endOfLastRow);

types/src/sender.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,9 +70,9 @@ export class Sender {
7070
* Sends the buffer's content to the database and compacts the buffer.
7171
* If the last row is not finished it stays in the sender's buffer.
7272
*
73-
* @return {boolean} Returns true if there was data in the buffer to send.
73+
* @return {Promise<boolean>} Resolves to true if there was data in the buffer to send.
7474
*/
75-
flush(): boolean;
75+
flush(): Promise<boolean>;
7676
/**
7777
* @ignore
7878
* @return {Buffer} Returns a cropped buffer ready to send to the server or null if there is nothing to send.

types/src/sender.d.ts.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)