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.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
batch | VgiBatch |
config? | | ExternalLocationConfig | null |
Returns
Section titled “Returns”Promise<VgiBatch>