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

Change policy.get() callback to use a consistent signature regardless of generateFunc #101

hueniverse opened this issue Oct 9, 2014 · 0 comments


Copy link

@hueniverse hueniverse commented Oct 9, 2014

In version 3.x, calling policy.get() returned a callback with the signature function (err, cached). This change makes the callback signature consistent so that it always use the same signature: function (err, item, cached, report) which was already used when generateFunc option is provided.

@hueniverse hueniverse self-assigned this Oct 9, 2014
@hueniverse hueniverse added this to the 4.0.0 milestone Oct 9, 2014
@hueniverse hueniverse closed this in a7b5beb Oct 9, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
1 participant
You can’t perform that action at this time.