This commit is contained in:
2023-07-11 15:36:13 +03:00
parent f550002628
commit 898273f28d
+7 -1
View File
@@ -36,12 +36,18 @@ __PluginManager__.register('dataStructures', function(module, exports, require,
/**
* Stack – LIFO
* Queue – FIFO
* @type dataStructures
* @memberOf kit
*/
const dataStructures = {
/**
* @class StackExecutionLimiter
* @memberOf dataStructures#
* @constructor
*/
StackExecutionLimiter: (function () {
var stack = function (context, callback, timeout = 1000) {
this.counter = 0;
this.timerId = 0;