Skip to content

Add `isConnected` property to `RedisClient` protocol

Nathan Harris requested to merge isconnected-req into master

Motivation:

It it pretty common as a developer when working with connections and "database" clients to want to know if the connection is currently open before doing any work.

Modifications:

Add var isConnected: Bool { get } requirement to the RedisClient protocol

Result:

Developers should now have access to the connectivity state of any RedisClient

Merge request reports