UNPKG

@amplience/dc-cli

Version:
25 lines (24 loc) 587 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.PublishQueue = exports.publishCalls = void 0; exports.publishCalls = []; class PublishQueue { constructor() { this.maxWaiting = 3; this.attemptDelay = 1000; this.failedJobs = []; this.unresolvedJobs = []; this.waitInProgress = false; } async publish(item) { exports.publishCalls.push(item); return; } async waitForAll() { return; } isEmpty() { return true; } } exports.PublishQueue = PublishQueue;