RedisEvents

Redis events map for the Redis client. Key is the event name and value is the corresponding callback function.


type RedisEvents = {
    connect: VoidCallback;
    ready: VoidCallback;
    error: OnErrorCallback;
    close: VoidCallback;
    reconnecting: VoidCallback;
    end: VoidCallback;
    warning: OnWarningCallback;
};