dist/storageEngine/RedisStorageEngine.js
/**
     * Add an id (or a list of them) to a list
     * @param listId id of the list
     * @param id array of ids that should be added
     */
Add an id (or a list of them) to a list
@param listId id of the list
@param id array of ids that should be added
Add an id ( or a list of them ) to a list @param listId id of the list @param id array of ids that should be added
addToList(listId, id) {
        return new Promise((res, rej) => {
            var _a;
            (_a = this.client) === null || _a === void 0 ? void 0 : _a.SADD(listId, id, (err) => {
                if (err)
                    void rej(err);
                else
                    void res(undefined);
            });
        });
    }
addToList ( listId , id ) { return new Promise ( ( res , rej ) => { var _a ; ( _a = this . client ) === null || _a === void 0 ? void 0 : _a . SADD ( listId , id , ( err ) => { if ( err ) void rej ( err ) ; else void res ( undefined ) ; } ) ; } ) ; }
Add an id (or a list of them) to a list
 @param listId id of the list
 @param id array of ids that should be added
Add an id ( or a list of them ) to a list @param listId id of the list @param id array of ids that should be added