dist/cache/ChannelCache.js
/**
     * Remove a channel from the cache
     * @param id id of the channel
     */
Remove a channel from the cache
@param id id of the channel
Remove a channel from the cache @param id id of the channel
async remove(id) {
        var _a, _b;
        const channel = await ((_a = this.storageEngine) === null || _a === void 0 ? void 0 : _a.get(this.buildId(id)));
        if (channel) {
            await this.removeFromIndex(id);
            return (_b = this.storageEngine) === null || _b === void 0 ? void 0 : _b.remove(this.buildId(id));
        }
        else {
            return undefined;
        }
    }
async remove ( id ) { var _a , _b ; const channel = await ( ( _a = this . storageEngine ) === null || _a === void 0 ? void 0 : _a . get ( this . buildId ( id ) ) ) ; if ( channel ) { await this . removeFromIndex ( id ) ; return ( _b = this . storageEngine ) === null || _b === void 0 ? void 0 : _b . remove ( this . buildId ( id ) ) ; } else { return undefined ; } }
Remove a channel from the cache
 @param id id of the channel
Remove a channel from the cache @param id id of the channel