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

MyCache.ttl/0 is undefined or private #71

Closed
ghost opened this issue May 15, 2020 · 4 comments
Closed

MyCache.ttl/0 is undefined or private #71

ghost opened this issue May 15, 2020 · 4 comments

Comments

@ghost
Copy link

ghost commented May 15, 2020

It seems like the documentation is now outdated their is no ttl/1 function on the Nebulex.Cache module.

Their is no function but the examples still contains it.

@cabol
Copy link
Owner

cabol commented May 15, 2020

Sorry, where did you find the doc about the cache function ttl/0? may you point it me out, please? I checked the different versions since 1.0.x and I could find docs about ttl/0 callback on the Nebulex.Cache module. Thanks!

@ghost
Copy link
Author

ghost commented May 15, 2020

@cabol
Copy link
Owner

cabol commented May 15, 2020

Oh, I see, yes, that is a mistake, the function is object_info/2.

@cabol
Copy link
Owner

cabol commented Jul 5, 2020

Fix already merged in master along with the base for v2.

@cabol cabol closed this as completed Jul 5, 2020
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