landvex: Fixar och tester klara för alla komponenter
- Datafabrik: Dockerfile fix, agentorkestrering fungerar - Vision: Identify-modell, FAISS, OCR alla testade - API: Alla 7 integrationstester passerade - Upplösare: Entitetsupplösning verifierad
This commit is contained in:
+20
@@ -0,0 +1,20 @@
|
||||
/**
|
||||
* this is a set which automatically forgets
|
||||
* a given entry when a new entry is set and the ttl
|
||||
* of the old one is over
|
||||
*/
|
||||
export declare class ObliviousSet<T = any> {
|
||||
readonly ttl: number;
|
||||
readonly set: Set<unknown>;
|
||||
readonly timeMap: Map<any, any>;
|
||||
constructor(ttl: number);
|
||||
has(value: T): boolean;
|
||||
add(value: T): void;
|
||||
clear(): void;
|
||||
}
|
||||
/**
|
||||
* Removes all entries from the set
|
||||
* where the TTL has expired
|
||||
*/
|
||||
export declare function removeTooOldValues(obliviousSet: ObliviousSet): void;
|
||||
export declare function now(): number;
|
||||
Reference in New Issue
Block a user