DocsBrowserViewModel

Lists the docs bundle, or the keyword-search results while a query is typed.

Constructors

Link copied to clipboard
constructor(bundleLoader: DocBundleLoader, searchEngine: KeywordSearchEngine)

Properties

Link copied to clipboard
val isLoading: StateFlow<Boolean>
Link copied to clipboard
val pages: StateFlow<List<DocPage>>
Link copied to clipboard
val searchQuery: StateFlow<String>

Functions

Link copied to clipboard
expect open fun addCloseable(closeable: AutoCloseable)
expect fun addCloseable(key: String, closeable: AutoCloseable)
Link copied to clipboard
expect fun <T : AutoCloseable> getCloseable(key: String): T?
Link copied to clipboard