Package-level declarations

Types

Link copied to clipboard
typealias NativeModule = Module
Link copied to clipboard
typealias NativeModules = List<Module>
Link copied to clipboard
class PackageSearchApiPackageCache(fileCache: CoroutineObjectRepository<ApiPackageCacheEntry>, apiClient: PackageSearchApiClient, maxAge: Duration = 1.days / 2) : PackageSearchApiPackagesProvider
Link copied to clipboard
value class SimpleProjectContext(val project: Project) : ProjectContext
Link copied to clipboard
class WindowedModuleBuilderContext(val project: Project, val knownRepositories: Map<String, ApiRepository>, packagesCache: PackageSearchApiPackagesProvider, coroutineScope: CoroutineScope, val projectCaches: CoroutineNitrite, val applicationCaches: CoroutineNitrite) : PackageSearchModuleBuilderContext

Functions

Link copied to clipboard
fun <T> Flow<T>.debounceBatch(duration: Duration): Flow<List<T>>
Link copied to clipboard
suspend fun getRepositories(repoCache: CoroutineObjectRepository<ApiRepositoryCacheEntry>, apiClient: PackageSearchApiClient, expireDuration: Duration = 14.days): Map<String, ApiRepository>
Link copied to clipboard
fun <T> interval(interval: Duration, emitOnStart: Boolean = true, function: suspend () -> T): Flow<T>
Link copied to clipboard
inline fun <T : Any> SerializersModuleBuilder.polymorphic(baseSerializer: KSerializer<T>? = null, builderAction: PolymorphicModuleBuilder<T>.() -> Unit)
Link copied to clipboard
fun <T> Flow<T>.startWithNull(): Flow<T?>
Link copied to clipboard
suspend fun <T> windowedBuilderContext(project: Project, knownRepositories: Map<String, ApiRepository>, packagesCache: PackageSearchApiPackageCache, projectCaches: CoroutineNitrite, applicationCaches: CoroutineNitrite, action: suspend CoroutineScope.(context: PackageSearchModuleBuilderContext) -> T): T
Link copied to clipboard
inline fun <T> CoroutineScope.windowedBuilderContext(project: Project, knownRepositories: Map<String, ApiRepository>, packagesCache: PackageSearchApiPackageCache, projectCaches: CoroutineNitrite, applicationCaches: CoroutineNitrite, action: PackageSearchModuleBuilderContext.() -> T): T