Memoize doesn't have much documentation. Is this t...
# arrow
d
Memoize doesn't have much documentation. Is this the right way to use it?
Copy code
val createService = ::createServiceUnmemoized.memoize()

    private fun createServiceUnmemoized(tokens: ApiTokens): ApiService {
        // ...
        return retrofit.create(ApiService::class.java)
    }