Skip to main content
Version: 0.1.22
Last Verified: 2025-01-27
Package: @hopx-ai/sdk on npm

Overview

The Cache resource provides methods for managing the execution result cache in sandboxes.

Methods

stats

Get cache statistics.
Returns: Promise<CacheStatsResponse> - Cache statistics Example:

clear

Clear the execution result cache.
This clears all cached execution results.

See Also

Next Steps