hapijs / catbox

Multi-strategy object caching service
Other
494 stars 72 forks source link

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

Closed hueniverse closed 10 years ago

hueniverse commented 10 years ago

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.

lock[bot] commented 4 years ago

This thread has been automatically locked due to inactivity. Please open a new issue for related bugs or questions following the new issue template instructions.