UNPKG

@speckle/objectloader2

Version:

This is an updated objectloader for the Speckle viewer written in typescript

23 lines 579 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); class AggregateQueue { #queue1; #queue2; constructor(queue1, queue2) { this.#queue1 = queue1; this.#queue2 = queue2; } async disposeAsync() { await this.#queue1.disposeAsync(); await this.#queue2.disposeAsync(); } add(value) { this.#queue1.add(value); this.#queue2.add(value); } values() { throw new Error('Not implemented'); } } exports.default = AggregateQueue; //# sourceMappingURL=aggregateQueue.js.map