Skip to content

Commit 96166ad

Browse files
maschadwemeetagain
andauthored
docs: remove unnecessary stat property from Connection comments (#2097)
Co-authored-by: Cayman <[email protected]>
1 parent 5f9d4f7 commit 96166ad

File tree

1 file changed

+3
-3
lines changed
  • packages/interface/src/connection

1 file changed

+3
-3
lines changed

packages/interface/src/connection/index.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ export interface Stream extends Duplex<AsyncGenerator<Uint8ArrayList>, Source<Ui
146146
timeline: StreamTimeline
147147

148148
/**
149-
* Once a protocol has been negotiated for this stream, it will be set on the stat object
149+
* The protocol negotiated for this stream
150150
*/
151151
protocol?: string
152152

@@ -231,12 +231,12 @@ export interface Connection {
231231
timeline: ConnectionTimeline
232232

233233
/**
234-
* Once a multiplexer has been negotiated for this stream, it will be set on the stat object
234+
* The multiplexer negotiated for this connection
235235
*/
236236
multiplexer?: string
237237

238238
/**
239-
* Once a connection encrypter has been negotiated for this stream, it will be set on the stat object
239+
* The encryption protocol negotiated for this connection
240240
*/
241241
encryption?: string
242242

0 commit comments

Comments
 (0)