Skip to content

Commit 856cc1b

Browse files
Update quic.md that the promise is rejected
1 parent 2a75220 commit 856cc1b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎doc/api/quic.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1348,8 +1348,8 @@ added: v23.8.0
13481348
writing more. **Default:** `65536` (64 KB).
13491349
* `waitUntilAvailable` {boolean} When true the promise will wait until flow
13501350
control will allow to open the stream. If set to false, the function
1351-
will fail synchronously, if flow control will not allow to open the stream
1352-
immediately.
1351+
will return a rejected promise, if flow control will not allow
1352+
to open the stream immediately.
13531353
**Default:** `false`
13541354
* `onheaders` {Function} Callback for received initial response headers.
13551355
Called with `(headers)`.

0 commit comments

Comments
 (0)