Skip to content

Function: renderPdfBatch()

renderPdfBatch(items, opts?): Promise<Uint8Array<ArrayBufferLike>[]>

Defined in: packages/vellora/src/render.ts:165

Render many documents with a bounded number of active native renders.

Results keep the same order as the input items. If any render fails, the batch rejects with that error after already-active renders settle; no additional items are started after the first failure.

Parameters

items

Iterable<RenderBatchItem>

opts?

RenderBatchOptions = {}

Returns

Promise<Uint8Array<ArrayBufferLike>[]>