Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to memoize by result? #57

Open
javeoff opened this issue Jul 3, 2024 · 1 comment
Open

how to memoize by result? #57

javeoff opened this issue Jul 3, 2024 · 1 comment

Comments

@javeoff
Copy link

javeoff commented Jul 3, 2024

have any ways to memoize function by result? For example, if promise returned undefined - don't save, if result exists - save. Thank you!

@javeoff
Copy link
Author

javeoff commented Jul 3, 2024

I made some solution, I don't know, but think it would be very helpful for other ;)
https://github.com/javeoff/conditional-map

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

No branches or pull requests

1 participant