We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
myschoolapp-reporting/packages/msar/src/workflows/Download/Downloader.ts
Line 13 in 3c782c4
import * as common from '../../common.js'; import * as Cache from './Cache.js'; import * as AuthenticatedFetch from './Downloader/AuthenticatedFetch.js'; import * as HTTPFetch from './Downloader/HTTPFetch.js'; import { Strategy } from './Downloader/Strategy.js'; export type Options = { host: string; } & common.output.args.Parsed & common.PuppeteerSession.args.Parsed & common.workflow.args.Parsed; // TODO Downloader needs to honor --concurrentThreads export class Downloader implements Strategy { private auth: AuthenticatedFetch.Downloader; private http: HTTPFetch.Downloader; private host: string; public constructor({ host, outputOptions, ...options }: Options) { const { outputPath } = outputOptions; if (!outputPath) { throw new common.output.OutputError('Downloader requires outputPath'); } this.host = host; this.auth = new AuthenticatedFetch.Downloader({ host, outputOptions, ...options }); this.http = new HTTPFetch.Downloader({ outputPath, ...options }); } public async download(original: string, filename?: string) {
The text was updated successfully, but these errors were encountered:
a879c8a
Not so fast… right now it's concurrent threads per section -- it would be nice to have this be global.
Sorry, something went wrong.
battis
No branches or pull requests
myschoolapp-reporting/packages/msar/src/workflows/Download/Downloader.ts
Line 13 in 3c782c4
The text was updated successfully, but these errors were encountered: