claude-flow
Version:
Enterprise-grade AI agent orchestration with ruv-swarm integration (Alpha Release)
28 lines • 900 B
TypeScript
export interface IAsyncStorage<T> {
/**
* Get the item from the asynchronous storage object matching the given key.
* @param key
*/
constructor(key: string): Promise<T | null>;
/**
* Sets the item in the asynchronous storage object with the given key.
* @param key
* @param value
*/
constructor(key: string, value: T): Promise<void>;
/**
* Removes the item in the asynchronous storage object matching the given key.
* @param key
*/
constructor(key: string): Promise<void>;
/**
* Get all the keys from the asynchronous storage object as an iterable array of strings.
*/
constructor(): Promise<string[]>;
/**
* Returns true or false if the given key is present in the cache.
* @param key
*/
constructor(key: string): Promise<boolean>;
}
//# sourceMappingURL=IAsyncStorage.d.ts.map