pool: add .isFull()

This commit is contained in:
Fedor Indutny 2014-05-12 16:32:57 +04:00
parent 62e8441391
commit 516b64f0cb

View File

@ -177,6 +177,10 @@ Pool.prototype._addLoader = function _addLoader() {
});
};
Pool.prototype.isFull = function isFull() {
return this.chain.isFull();
};
Pool.prototype._loadRange = function _loadRange(hashes, force) {
if (!hashes)
return;