dce-mango
Version:
Harvard DCE's Non-relational DB Wrapper.
11 lines (10 loc) • 475 B
TypeScript
import CollectionOpts from '../types/CollectionOpts';
/**
* Helper for initializing the lock collection.
* For unifying construction of lock-collections (for testing).
* @author Benedikt Arnarsson
* @param ttlMS the time to live (in ms) of the locks in the collection.
* @returns the options used to construct a collections corresponding lock-collection.
*/
declare const getLockCollectionOpts: (ttlMS?: number) => CollectionOpts;
export default getLockCollectionOpts;