Skip to content

Commit

Permalink
Add missing availability annotation to NIOTSConnectionBootstrap (#160)
Browse files Browse the repository at this point in the history
Motivation:

- NIOTSConnectionBootstrap was extended to be marked as non-Sendable,
  this extenion missed the availability annotations.

Modifications:

- Add appropriate availability annotation

Result:

Resolves #159
  • Loading branch information
glbrntt authored Sep 28, 2022
1 parent b39e53a commit b6e37a0
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -263,6 +263,7 @@ public final class NIOTSConnectionBootstrap {

#if swift(>=5.6)
@available(*, unavailable)
@available(OSX 10.14, iOS 12.0, tvOS 12.0, watchOS 6.0, *)
extension NIOTSConnectionBootstrap: Sendable {}
#endif

Expand Down

0 comments on commit b6e37a0

Please sign in to comment.