Skip to content

Commit

Permalink
Make NIOAsyncChannel.Configuration Sendable (#2466)
Browse files Browse the repository at this point in the history
  • Loading branch information
FranzBusch committed Jul 22, 2023
1 parent e5416f4 commit a2e487b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/NIOCore/AsyncChannel/AsyncChannel.swift
Expand Up @@ -36,7 +36,7 @@
@_spi(AsyncChannel)
public final class NIOAsyncChannel<Inbound: Sendable, Outbound: Sendable>: Sendable {
@_spi(AsyncChannel)
public struct Configuration {
public struct Configuration: Sendable {
/// The backpressure strategy of the ``NIOAsyncChannel/inboundStream``.
public var backpressureStrategy: NIOAsyncSequenceProducerBackPressureStrategies.HighLowWatermark

Expand Down

0 comments on commit a2e487b

Please sign in to comment.