UnreadEventsFeeder

class UnreadEventsFeeder(localDatabase: UserDatabaseBuilder, dispatcher: <Error class: unknown class> = KaliumDispatcherImpl)

Feeds synthetic unread events for performance testing of ConversationDetailsWithEvents.

Populates:

  • UnreadEvent

  • UnreadEventCountsGrouped view automatically reflects aggregated counts

Generates:

  • multiple events per message (MESSAGE, REPLY, MENTION…)

  • realistic creation_date distribution

Constructors

Link copied to clipboard
constructor(localDatabase: UserDatabaseBuilder, dispatcher: <Error class: unknown class> = KaliumDispatcherImpl)

Functions

Link copied to clipboard
suspend fun feed(conversationId: ConversationIDEntity): <Error class: unknown class>