Skip to content

Commit 13551ac

Browse files
committed
Mark DuplexStreamPair properties and initializer public
1 parent 5a1c9d8 commit 13551ac

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

Sources/ATCommonTools/Swift-bound/DuplexStream.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -137,15 +137,15 @@ public actor DuplexStreamEndpoint: DuplexStream {
137137
public final class DuplexStreamPair: Sendable {
138138

139139
/// The first endpoint in the duplex stream pair.
140-
let endpointA: DuplexStreamEndpoint
140+
public let endpointA: DuplexStreamEndpoint
141141

142142
/// The second endpoint in the duplex stream pair.
143-
let endpointB: DuplexStreamEndpoint
143+
public let endpointB: DuplexStreamEndpoint
144144

145145
/// Initializes the duplex stream pair, connecting both endpoints.
146146
///
147147
/// The endpoints are automatically paired together.
148-
init() async {
148+
public init() async {
149149
endpointA = DuplexStreamEndpoint()
150150
endpointB = DuplexStreamEndpoint()
151151

0 commit comments

Comments
 (0)