UNPKG

@softchef/cdk-iot-device-management

Version:

IoT device management is composed of things, thing types, thing groups, jobs, files API services. The constructs can be used independently, that are based on full-managed service to create an API Gateway & Lambda function.

30 lines (24 loc) 579 B
/** * Mnemonist BloomFilter Typings * ============================== */ type BloomFilterOptions = { capacity: number; errorRate?: number; } export default class BloomFilter { // Members capacity: number; errorRate: number; hashFunctions: number; // Constructor constructor(capacity: number); constructor(options: BloomFilterOptions); // Methods clear(): void; add(string: string): this; test(string: string): boolean; toJSON(): Uint8Array; // Statics from(iterable: Iterable<string>, options?: number | BloomFilterOptions): BloomFilter; }