Skip to content

Commit

Permalink
docs: remove unnecessary stat parent from comments (libp2p#2081)
Browse files Browse the repository at this point in the history
  • Loading branch information
maschad committed Sep 30, 2023
1 parent ae36e86 commit fc26a9a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/interface/src/connection/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ export interface Stream extends Duplex<AsyncGenerator<Uint8ArrayList>, Source<Ui
timeline: StreamTimeline

/**
* Once a protocol has been negotiated for this stream, it will be set on the stat object
* The protocol that was negotiated for this stream
*/
protocol?: string

Expand Down Expand Up @@ -231,12 +231,12 @@ export interface Connection {
timeline: ConnectionTimeline

/**
* Once a multiplexer has been negotiated for this stream, it will be set on the stat object
* The multiplexer that was used to negotiate this connection
*/
multiplexer?: string

/**
* Once a connection encrypter has been negotiated for this stream, it will be set on the stat object
* The encryption protocol that was used to negotiate this connection
*/
encryption?: string

Expand Down

0 comments on commit fc26a9a

Please sign in to comment.