redis.connect

redis

connect(config) -> client, err

Connect to a Redis server asynchronously

Establishes an async connection to a Redis server, returning a client object. Must be called within lev.run().

config, when provided, can be either a string URL, or a table.