Get a value from cache.
Returns the cached value or undefined if not found. Stale entries are still returned (background refresh handles updates).
get(key: string, refreshFunc: () => Promise<PromptCommit>): PromptCommit | undefined| Name | Type | Description |
|---|---|---|
key* | string | |
refreshFunc* | () => Promise<PromptCommit> |