devexpress-reporting
Version:
DevExpress Reporting provides the capability to develop a reporting application to create and customize reports.
20 lines (19 loc) • 527 B
JavaScript
/**
* DevExpress HTML/JS Reporting (common\utils\_locker.js)
* Version: 24.2.6
* Build date: Mar 18, 2025
* Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
* License: https://www.devexpress.com/Support/EULAs/universal.xml
*/
export class Locker {
constructor() {
this.lock = (action) => {
if (!this.isUpdate) {
this.isUpdate = true;
action();
this.isUpdate = false;
}
};
this.isUpdate = false;
}
}