redis

open fun <T> redis(action: Jedis.() -> T): T

Executes an action using a Redis connection.

Return

The result of the action.

Parameters

action

The action to execute.

Type Parameters

T

The return type of the action.