LRUCache.clear()

Clear all the objects from the LRUCache

Usage

Hover over inputs/exits for more info.

var LRUCache = require('machinepack-lrucache');


// Clear all the objects from the LRUCache

LRUCache.clear({

}).exec({

// An unexpected error occurred.

error: function (err) {

 

},

// OK.

success: function () {

 

},

});

Inputs

Exits

error

An unexpected error occurred.

success

OK.