dist/cache/VoiceStateCache.js
/**
     * Find a VoiceState by providing a filter function which returns true upon success and false otherwise
     * @param fn filter function to use for filtering for a state
     * @param ids List of ids that should be used as the scope of the filter
     * @returns Returns a VoiceState Cache with a bound state or null if no state was found
     */
Find a VoiceState by providing a filter function which returns true upon success and false otherwise
@param fn filter function to use for filtering for a state
@param ids List of ids that should be used as the scope of the filter
@returns Returns a VoiceState Cache with a bound state or null if no state was found
Find a VoiceState by providing a filter function which returns true upon success and false otherwise @param fn filter function to use for filtering for a state @param ids List of ids that should be used as the scope of the filter @returns Returns a VoiceState Cache with a bound state or null if no state was found
async find(fn, ids = undefined) {
        var _a;
        const state = await ((_a = this.storageEngine) === null || _a === void 0 ? void 0 : _a.find(fn, ids, this.namespace));
        if (!state)
            return null;
        return new VoiceStateCache(this.storageEngine, this.rain, state);
    }
async find ( fn , ids = undefined ) { var _a ; const state = await ( ( _a = this . storageEngine ) === null || _a === void 0 ? void 0 : _a . find ( fn , ids , this . namespace ) ) ; if ( ! state ) return null ; return new VoiceStateCache ( this . storageEngine , this . rain , state ) ; }
Find a VoiceState by providing a filter function which returns true upon success and false otherwise
 @param fn filter function to use for filtering for a state
 @param ids List of ids that should be used as the scope of the filter
 @returns Returns a VoiceState Cache with a bound state or null if no state was found
Find a VoiceState by providing a filter function which returns true upon success and false otherwise @param fn filter function to use for filtering for a state @param ids List of ids that should be used as the scope of the filter @returns Returns a VoiceState Cache with a bound state or null if no state was found