Skip to content

maybeExternalizeBatch

function maybeExternalizeBatch(batch, config?): Promise<VgiBatch>;

Defined in: src/external.ts:142

Maybe externalize a batch if it exceeds the threshold. Returns the original batch unchanged if below threshold or no config.

ParameterType
batchVgiBatch
config?| ExternalLocationConfig | null

Promise<VgiBatch>