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 67ede85 commit e296edd
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 have been concerned by adding new Messages in the current Folder.
* It should be the full set given everywhere, because sometimes we are adding Threads to it, and sometimes we are removing.
*/
fun handleAddedMessages(
scope: CoroutineScope,
Expand Down

0 comments on commit e296edd

Please sign in to comment.