UNPKG

ad-promise

Version:

This is a fork of the gheeres node-activedirectory. It fixes some issues with timeouts with very large AD-Groups as well as returning also promises so you won't have to use callbacks

20 lines (15 loc) 301 B
let pendingRangeRetrivals = 0; const addOne = () => { return pendingRangeRetrivals++; } const substractOne = () => { return pendingRangeRetrivals--; } const get = () => { return pendingRangeRetrivals; } module.exports = { addOne, substractOne, get }