vertx / io.vertx.kotlin.redis / io.vertx.redis.RedisClient / evalshaAwait

evalshaAwait

suspend fun RedisClient.evalshaAwait(sha1: String, keys: List<String>, values: List<String>): JsonArray

Execute a Lua script server side. Due to the dynamic nature of this command any response type could be returned for This reason and to ensure type safety the reply is always guaranteed to be a JsonArray.

When a reply if for example a String the handler will be called with a JsonArray with a single element containing the String.

Parameters

sha1 - SHA1 digest of the script cached on the server

keys - List of keys

values - List of values

handler - Handler for the result of this call.

Return