Skip to content

Commit

Permalink
Put some sendables back (ARTConnectionDetails has only readonly pro…
Browse files Browse the repository at this point in the history
…perties and `ARTRestChannels` calls only methods of a sendable object).
  • Loading branch information
maratal committed Aug 25, 2024
1 parent 401dd03 commit 9048f94
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions Source/include/Ably/ARTConnectionDetails.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
/**
* Contains any constraints a client should adhere to and provides additional metadata about a `ARTConnection`, such as if a request to `-[ARTChannelProtocol publish:callback:]` a message that exceeds the maximum message size should be rejected immediately without communicating with Ably.
*/
NS_SWIFT_SENDABLE
@interface ARTConnectionDetails : NSObject

NS_ASSUME_NONNULL_BEGIN
Expand Down
1 change: 1 addition & 0 deletions Source/include/Ably/ARTRestChannels.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ NS_ASSUME_NONNULL_BEGIN
@end

/// :nodoc:
NS_SWIFT_SENDABLE
@interface ARTRestChannels : NSObject<ARTRestChannelsProtocol>

- (ARTRestChannel *)get:(NSString *)name;
Expand Down

0 comments on commit 9048f94

Please sign in to comment.