Skip to content

Commit d2540ec

Browse files
committed
1 parent aada5d8 commit d2540ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/_includes/content/functions/runtime.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ Per-function global caching is available in the `cache` namespace. The following
3333
- `cache.load(key: string, ttl: number, fn: async () => any): Promise<any>`
3434
- Obtains a cached value for the provided `key`, invoking the callback if the value is missing or has expired. The `ttl` is the maximum duration in milliseconds the value can be cached. If omitted or set to `-1`, the value will have no expiry. There is no guarantee that a value will be retained in the cache for the provided duration, however. The cache space is limited, so efforts to minimize the cached value size will afford a higher cache hit ratio.
3535
- `cache.delete(key: string): void`
36-
- Forcefully remove the value associated withe the `key`.
36+
- Forcefully remove the value associated with the `key`.
3737

3838
The following example gets a JSON value through the cache, only invoking the callback as needed:
3939

0 commit comments

Comments
 (0)