UNPKG

status-sharding

Version:

Welcome to Status Sharding! This package is designed to provide an efficient and flexible solution for sharding Discord bots, allowing you to scale your bot across multiple processes or workers.

8 lines (7 loc) 402 B
export default class CustomMap<K, V> extends Map<K, V> { update(key: K, value: ((value?: Partial<V>) => V)): this; map<T>(callback: (value: V, key: K, map: this) => T): T[]; filter(callback: (value: V, key: K, map: this) => boolean): V[]; find(callback: (value: V, key: K, map: this) => boolean): V | undefined; every(callback: (value: V, key: K, map: this) => boolean): boolean; }