Package-level declarations
Blocking wrappers instantiated with the blocking
helper.
Types
Functions
Link copied to clipboard
fun <Identifier, Failure, Value> Cache<Identifier, Failure, Value>.blocking(): BlockingCache<Identifier, Failure, Value>
Converts an asynchronous cache into a blocking cache.
fun <Identifier, Context, Failure, Value> ContextualCache<Identifier, Context, Failure, Value>.blocking(): BlockingContextualCache<Identifier, Context, Failure, Value>
Converts an asynchronous contextual cache into a blocking cache.
Link copied to clipboard
fun <Identifier, Context, Value> BlockingContextualCache<Identifier, Context, Nothing, Value>.getValue(id: Identifier, context: Context): Value
Convenience function to access a value from InfallibleCache that are blocking.