vertx / io.vertx.kotlin.redis / io.vertx.redis.RedisClient / restoreAwait

restoreAwait

suspend fun RedisClient.restoreAwait(key: String, millis: Long, serialized: String): String

Create a key using the provided serialized value, previously obtained using DUMP.

Parameters

key - Key string

millis - Expiry time in milliseconds to set on the key

serialized - Serialized form of the key value as obtained using DUMP

handler - Handler for the result of this call.

Return