Pruning contract for objects storing time-limited or expiring data. Implementers provide a way to clean up expired entries.
Usage patterns:
Typically called periodically (on timer) or on-demand during maintenance.
IMPORT_PATH: "@daiso-tech/core/utilities/contracts"
"@daiso-tech/core/utilities/contracts"
Removes all expired entries from storage.
Promise that resolves when pruning is complete
If pruning fails due to I/O errors, permission issues, or resource constraints
Pruning contract for objects storing time-limited or expiring data. Implementers provide a way to clean up expired entries.
Usage patterns:
Typically called periodically (on timer) or on-demand during maintenance.
IMPORT_PATH:
"@daiso-tech/core/utilities/contracts"