Skip to content

Add shouldCache option#60

Merged
sindresorhus merged 1 commit into
mainfrom
should-cache
Aug 14, 2025
Merged

Add shouldCache option#60
sindresorhus merged 1 commit into
mainfrom
should-cache

Conversation

@sindresorhus

Copy link
Copy Markdown
Owner

Fixes #57

@sindresorhus
sindresorhus requested a review from fregante August 14, 2025 10:46

@fregante fregante left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks reasonable. Maybe I'd merge "cache errors" into this one but it's probably unnecessary complexity on all sides.

@sindresorhus
sindresorhus merged commit 55cc5d3 into main Aug 14, 2025
6 checks passed
@sindresorhus
sindresorhus deleted the should-cache branch August 14, 2025 11:18
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.

how to memoize by result?

4 participants