Package-level declarations

Types

Link copied to clipboard
class ThreadListController(query: QueryThreadsRequest, chatClient: ChatClient = ChatClient.instance(), scope: CoroutineScope = CoroutineScope(DispatcherProvider.IO.limitedParallelism(1)), queryThreadsAsState: (CoroutineScope) -> StateFlow<QueryThreadsState?> = { stateScope -> chatClient.queryThreadsAsState( request = query, coroutineScope = stateScope, ) }) : AutoCloseable

Controller responsible for managing the Threads list state. It serves as a central place for the state management and business logic related to the Threads list.