vertx / io.vertx.rxjava.redis / RedisTransaction / eval

# eval

`open fun eval(script: String, keys: MutableList<String>, args: MutableList<String>, handler: Handler<AsyncResult<String>>): RedisTransaction`

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

`script` - Lua script to evaluate

`keys` - List of keys

`args` - List of argument values

`handler` - Handler for the result of this call.

Return