-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Labels
breakingBackwards incompatible changes made to the public API.Backwards incompatible changes made to the public API.enhancementNew feature or improved functionality.New feature or improved functionality.
Description
Currently you have to capture the return value of subscribe from within the listener, which Swift doesn't allow, forcing you to store it in a separate optional variable and then unwrap inside the callback. This is not great API. We should consider switching to something like the approach used by WIP ably-swift (a user-created signal that's passed in to the subscribe call; the signal then has an unsubscribe method).
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
breakingBackwards incompatible changes made to the public API.Backwards incompatible changes made to the public API.enhancementNew feature or improved functionality.New feature or improved functionality.