layercache-cache2k
/
com.appmattus.layercache
/
toCache2kLoader
to
Cache2k
Loader
suspend fun <
Key
:
Any
,
Value
:
Any
>
Fetcher
<
Key
,
Value
>.
toCache2kLoader
():
CacheLoader
<
Key
,
Value
?>
Content copied to clipboard
Convert a Fetcher into a Cache2k loader. Note the Fetcher should not return null
Return
Cache2k loader
Sources
(source)
Link copied to clipboard