UNPKG

connection-scan-algorithm

Version:
16 lines (15 loc) 452 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const ScanResults_1 = require("./ScanResults"); /** * Creates a new ScanResults object for a given set of origins */ class ScanResultsFactory { constructor(interchange) { this.interchange = interchange; } create(origins) { return new ScanResults_1.ScanResults(this.interchange, origins); } } exports.ScanResultsFactory = ScanResultsFactory;