Skip to content
This repository has been archived by the owner on Jan 25, 2022. It is now read-only.

Commit

Permalink
upd
Browse files Browse the repository at this point in the history
  • Loading branch information
demidko committed Jun 28, 2021
1 parent 402f09e commit 36b4337
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/main/kotlin/com/github/demidko/redis/utils/Redis.kt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ package com.github.demidko.redis.utils
import co.touchlab.stately.isolate.IsolateState
import org.redisson.api.RedissonClient
import org.redisson.config.Config
import java.util.Map

/**
* Configure redis client
Expand Down Expand Up @@ -41,4 +40,4 @@ fun <K, V> RedissonClient.mutableMap(name: String) = IsolateState { getMap<K, V>
* @param name - name of object
* @return isolated map object
*/
fun <K, V> RedissonClient.hashMap(name: String) = IsolateState { getMap<K, V>(name) as Map<K, V> }
fun <K, V> RedissonClient.redisMap(name: String) = IsolateState { getMap<K, V>(name) }

0 comments on commit 36b4337

Please sign in to comment.