Skip to content

Commit

Permalink
persistence.exists
Browse files Browse the repository at this point in the history
  • Loading branch information
vanchi-zendesk committed Feb 19, 2014
1 parent f2db1ae commit 4ae2d74
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions core/lib/persistence.js
Expand Up @@ -141,6 +141,10 @@ Persistence.applyPolicy = function(multi, key, policy) {
}
};

Persistence.exists = function(key, callback) {
redis().exists(key, callback);
};

Persistence.readOrderedWithScores = function(key, policy, callback) {
var multi = redis().multi();

Expand Down

0 comments on commit 4ae2d74

Please sign in to comment.