Skip to content

Commit

Permalink
Marked types with only readonly members as NS_SWIFT_SENDABLE.
Browse files Browse the repository at this point in the history
  • Loading branch information
maratal committed Oct 8, 2024
1 parent ccca241 commit 9125b11
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Source/include/Ably/ARTTypes.h
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,7 @@ NSString *generateNonce(void);
/**
* Contains `ARTRealtimeConnectionState` change information emitted by the `ARTConnection` object.
*/
NS_SWIFT_SENDABLE
@interface ARTConnectionStateChange : NSObject

/// :nodoc:
Expand Down Expand Up @@ -273,6 +274,7 @@ NSString *generateNonce(void);
/**
* Contains state change information emitted by an `ARTRealtimeChannel` object.
*/
NS_SWIFT_SENDABLE
@interface ARTChannelStateChange : NSObject

/// :nodoc:
Expand Down Expand Up @@ -318,6 +320,7 @@ NSString *generateNonce(void);
/**
* Contains the metrics associated with a `ARTRestChannel` or `ARTRealtimeChannel`, such as the number of publishers, subscribers and connections it has.
*/
NS_SWIFT_SENDABLE
@interface ARTChannelMetrics : NSObject

/**
Expand Down Expand Up @@ -363,6 +366,7 @@ NSString *generateNonce(void);
/**
* Contains the metrics of a `ARTRestChannel` or `ARTRealtimeChannel` object.
*/
NS_SWIFT_SENDABLE
@interface ARTChannelOccupancy : NSObject

/**
Expand All @@ -378,6 +382,7 @@ NSString *generateNonce(void);
/**
* Contains the status of a `ARTRestChannel` or `ARTRealtimeChannel` object such as whether it is active and its `ARTChannelOccupancy`.
*/
NS_SWIFT_SENDABLE
@interface ARTChannelStatus : NSObject

/**
Expand All @@ -398,6 +403,7 @@ NSString *generateNonce(void);
/**
* Contains the details of a `ARTRestChannel` or `ARTRealtimeChannel` object such as its ID and `ARTChannelStatus`.
*/
NS_SWIFT_SENDABLE
@interface ARTChannelDetails : NSObject

/**
Expand Down

0 comments on commit 9125b11

Please sign in to comment.