cachedInSessionStorage

fun <Identifier, Failure, Value : Any> Cache<Identifier, Failure, Value>.cachedInSessionStorage(keyPrefix: String, serializeIdentifier: (Identifier) -> String?, serializeValue: (Value) -> String?, deserializeValue: (String) -> Value?): Cache<Identifier, Failure, Value>(source)

In-browser Cache implementation that is cleared when the tab is closed.

This function is equivalent for cachedInBrowserStorage using the session storage engine. See the cachedInBrowserStorage documentation for more information.