coastline 0.0.4
Loading...
Searching...
No Matches
importjobs.h File Reference
#include <functional>
#include <optional>
#include <span>
#include <string>
#include "importer.h"
Include dependency graph for importjobs.h:

Go to the source code of this file.

Namespaces

namespace  coastline

Typedefs

using coastline::ImportJob = std::function<std::optional<std::string>(const ImportProgress &)>
 Independent import work in a private destination directory.

Functions

std::optional< std::string > coastline::RunImportJobs (std::span< const ImportJob > jobs, const ImportProgress &progress={})
 Run independent jobs with at most four workers, limited by available CPU concurrency.