CacheableFlowWithNoInput
class CacheableFlowWithNoInput<TData, TError : Throwable>(coroutineScope: CoroutineScope, launchFlow: () -> Flow<TData?>, val cacheKey: CacheableInput.FlowInput, cache: OnHandCache, dispatcher: CoroutineDispatcher = Dispatchers.Default, ttl: Duration? = null, initialFetchState: FetchState = FetchState.IDLE)
Constructors
Link copied to clipboard
constructor(coroutineScope: CoroutineScope, launchFlow: () -> Flow<TData?>, cacheKey: CacheableInput.FlowInput, cache: OnHandCache, dispatcher: CoroutineDispatcher = Dispatchers.Default, ttl: Duration? = null, initialFetchState: FetchState = FetchState.IDLE)