Builds the store.
The guild channel this store belongs to.
The guild channel this store belongs to.
The client this store belongs to.
Returns the string tag of this proxy object.
The first item in this Cache
The first key of this cache
The first value of this cache
The last item in this cache
The last key of this cache
The last value of this cache
Returns the number of keys in the proxy.
Returns a new Iterator object that contains the [key, value] pairs for each element in the {@link Map} object contained in the proxy in insertion order.
Creates an invite to the channel.
The invite options
The additional request options.
Removes all keys from the proxy.
Removes a key from the proxy.
The key of the element to remove from the proxy object.
Whether or not the key was removed.
Returns a new Iterator object that contains the [key, value] pairs for each element in the {@link Map} object contained in the proxy in insertion order.
Naive equality compare function
The cache to compare this against
Returns a list of invites with their metadata.
Returns a new filtered Cache based on the filter function
Function used to determine what entries are in the new Cache
Optional binding for the fn param
Executes a provided function once per each key/value pair in the {@link Map} object, in insertion order
Function to execute for each element.
Value to use as this when executing callback.
Returns a specified element from a Map object. If the value that is associated to the provided key is an object, then you will get a reference to that object and any change made to that object will effectively modify it inside the Map object
The key of the element to return from the {@link Map} object.
The element associated with the specified key, or undefined
if the key can't be found in the {@link Map} object.
Returns a boolean indicating whether an element with the specified key exists or not.
The key of the element to test for presence in the proxy and in the {@link Map} object.
Whether or not an element with the specified key exists in the proxy and in the {@link Map} object.
Returns a new Iterator object that contains the keys for each element in the {@link Map} object contained in the proxy in insertion order
Maps this Cache to an array (like Array#map())
Function to determine what is mapped to the new Array
Optional binding for the fn param
Reduces this cache into a singularity
The function to determine how this Cache is reduced
The initial value
Optional binding for the fn param
Deletes an invite given its code.
The {@link Invite#code invite code}.
The additional request options.
Adds a key to the proxy if it wasn't previously added and exists in the {@link Map} object.
The key of the element to add to the proxy object.
The modified {@link ProxyCache}.
Returns a new Iterator object that contains the values for each element in the {@link Map} object contained in the proxy in insertion order
Generated using TypeDoc
The store for guild invites the channel has.
0.0.3