Skip to content

Commit

Permalink
Merge pull request #1988 from ably/fix/1987-avoiding-preconcurrency
Browse files Browse the repository at this point in the history
[ECO-5027] Marked types with only readonly members as `NS_SWIFT_SENDABLE`
  • Loading branch information
maratal authored Oct 9, 2024
2 parents 752ff31 + 9125b11 commit 39bcedf
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 39bcedf

Please sign in to comment.