OptionalattemptsAttempts per page before giving up. Defaults to PDF_CONVERT_PAGE_ATTEMPTS or 3.
OptionalconcurrencyHow many pages may be converted at once.
The reason this exists: converting every page concurrently is what a 146-page
document did before there was a cap, and the provider rate-limited most of
them. Defaults to PDF_CONVERT_CONCURRENCY or 20.
OptionalonCalled as pages complete, for a caller with somewhere to show it.
OptionalpagePer-attempt timeout. Defaults to PDF_CONVERT_PAGE_TIMEOUT_MS or 2 minutes.
OptionalretryBase delay for the exponential backoff between attempts. Defaults to 1000ms.
How a conversion should be run. Every field has an environment-backed default.