@credo-ts/core
Version:
<p align="center"> <br /> <img alt="Credo Logo" src="https://github.com/openwallet-foundation/credo-ts/blob/c7886cb8377ceb8ee4efe8d264211e561a75072d/images/credo-logo.png" height="250px" /> </p> <h1 align="center"><b>Credo - Core</b></h1
12 lines (11 loc) • 511 B
text/typescript
import { AgentContext } from "../../agent/context/AgentContext.mjs";
import "../../agent/context/index.mjs";
//#region src/modules/cache/Cache.d.ts
interface Cache {
get<CacheValue>(agentContext: AgentContext, key: string): Promise<CacheValue | null>;
set<CacheValue>(agentContext: AgentContext, key: string, value: CacheValue, expiresInSeconds?: number): Promise<void>;
remove(agentContext: AgentContext, key: string): Promise<void>;
}
//#endregion
export { Cache };
//# sourceMappingURL=Cache.d.mts.map