Skip to content

feat: add TTL expiration and related features to persistence utility#3

Merged
codeBelt merged 1 commit intomainfrom
persist-expire
Feb 16, 2026
Merged

feat: add TTL expiration and related features to persistence utility#3
codeBelt merged 1 commit intomainfrom
persist-expire

Conversation

@codeBelt
Copy link
Copy Markdown
Owner

  • Introduced expireIn option for time-to-live (TTL) on persisted data.
  • Added clearOnExpire to auto-remove expired data during hydration.
  • Enhanced PersistHandle with isExpired flag for expiration checks.
  • Updated docs and tests to reflect TTL handling and cross-tab sync behavior.

- Introduced `expireIn` option for time-to-live (TTL) on persisted data.
- Added `clearOnExpire` to auto-remove expired data during hydration.
- Enhanced `PersistHandle` with `isExpired` flag for expiration checks.
- Updated docs and tests to reflect TTL handling and cross-tab sync behavior.
@codeBelt codeBelt self-assigned this Feb 16, 2026
@codeBelt codeBelt merged commit cb05c1b into main Feb 16, 2026
1 check passed
@codeBelt codeBelt deleted the persist-expire branch February 16, 2026 02:51
@github-actions github-actions bot mentioned this pull request Feb 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant