Skip to content

Commit

Permalink
docs: Update explanatory comment about impactedThreads
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinBoulongne committed Mar 7, 2025
1 parent 2786e5f commit 8514b16
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,10 @@ interface RefreshStrategy {
fun queryFolderThreads(folderId: String, realm: TypedRealm): List<Thread>

/**
* The returned Threads should be managed by Realm
* About the `impactedThreadsManaged`:
* This set will be updated throughout the whole process of handling added Messages.
* It represents all the Threads that will need to be recomputed to reflect the changes of the newly added Messages.
* We need to pass down a reference to the MutableSet to enable both addition and removal of Threads in it.
*/
fun handleAddedMessages(
scope: CoroutineScope,
Expand Down

0 comments on commit 8514b16

Please sign in to comment.