CacheableQueryWithInput
class CacheableQueryWithInput<TInput : CacheableInput.QueryInput, TData, TError : Throwable>(coroutineScope: CoroutineScope, launchQuery: suspend (input: TInput) -> TData?, startingCacheKey: TInput? = null, cache: OnHandCache, dispatcher: CoroutineDispatcher = Dispatchers.Default, ttl: Duration? = null, initialFetchState: FetchState = FetchState.IDLE)
Constructors
Link copied to clipboard
constructor(coroutineScope: CoroutineScope, launchQuery: suspend (input: TInput) -> TData?, startingCacheKey: TInput? = null, cache: OnHandCache, dispatcher: CoroutineDispatcher = Dispatchers.Default, ttl: Duration? = null, initialFetchState: FetchState = FetchState.IDLE)