-
Notifications
You must be signed in to change notification settings - Fork 227
V5: Use concurrency and timers from StreamCore #3858
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: v5
Are you sure you want to change the base?
Conversation
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the ✨ Finishing touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
6969561 to
e67de7f
Compare
SDK Performance
|
Generated by 🚫 Danger |
SDK Size
|
StreamChat XCSize
Show 215 more objects
|
StreamChatUI XCSize
Show 292 more objects
|
Public Interface- @propertyWrapper public class Atomic: @unchecked Sendable
-
- public var wrappedValue: T
-
-
- public init(wrappedValue: T)
-
-
- public func mutate(_ changes: (_ value: inout T) -> Void)
- public func callAsFunction(_ changes: (_ value: inout T) -> Void)
|
|
| } | ||
|
|
||
| func eventsController(_ controller: EventsController, didReceiveEvent event: any Event) { | ||
| func eventsController(_ controller: EventsController, didReceiveEvent event: any StreamChat.Event) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can't be cleaned up in this PR because there are multiple Event types. Cleaned it up in the last websocket PR
|
|
||
| import Foundation | ||
|
|
||
| enum StreamConcurrency { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can probably move the Debouncer and Throttler to StreamCore too right? 🤔
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! ✅



🔗 Issue Links
Fixes IOS-1206
🎯 Goal
Describe why we are making this change.
📝 Summary
Provide bullet points with the most important changes in the codebase.
🛠 Implementation
Provide a detailed description of the implementation and explain your decisions if you find them relevant.
🎨 Showcase
Add relevant screenshots and/or videos/gifs to easily see what this PR changes, if applicable.
🧪 Manual Testing Notes
Explain how this change can be tested manually, if applicable.
☑️ Contributor Checklist
docs-contentrepo