export class QueueStrategy {
    constructor(settings, order) {
        this.settings = settings;
        this.order = order;
    }
    getNextSource(source) {
        const index = this.order.indexOf(source);
        return index < this.order.length ? this.order[index + 1] : undefined;
    }
}
//# sourceMappingURL=QueueStrategy.js.map