@huddle01/web-core
Version:
The Huddle01 Javascript SDK offers a comprehensive suite of methods and event listeners that allow for seamless real-time audio and video communication with minimal coding required.
19 lines (17 loc) • 691 B
text/typescript
type TEnhancedSetKeyOptions = string | number;
declare const defaultCompareFn: (a: TEnhancedSetKeyOptions, b: TEnhancedSetKeyOptions) => boolean;
declare class EnhancedSet {
private set;
private compareFn;
private getKey;
data: () => Set<string>;
get size(): number;
has: (a: TEnhancedSetKeyOptions, b: TEnhancedSetKeyOptions) => boolean;
add: (a: TEnhancedSetKeyOptions, b: TEnhancedSetKeyOptions) => string;
delete: (a: TEnhancedSetKeyOptions, b: TEnhancedSetKeyOptions) => boolean;
clear: () => void;
constructor(data: {
compareFn?: typeof defaultCompareFn;
});
}
export { EnhancedSet, type TEnhancedSetKeyOptions, defaultCompareFn };