resolveBundleSource
このコンテンツはまだ日本語訳がありません。
resolveBundleSource(
options?):object
Defined in: db/duckdb.ts:54
Decide which bundle set to load and whether a jsDelivr fallback is allowed. Pure (no I/O) so the policy is unit-testable without instantiating DuckDB.
- Injected
bundlesare returned verbatim — jsDelivr is never consulted, and a fallback is only allowed when explicitly opted into. - With no options, the jsDelivr CDN bundles are the primary source; there is
no secondary fallback because we are already on the CDN (the retry loop in
initDuckDBhandles transient CDN hiccups).
Parameters
Section titled “Parameters”options?
Section titled “options?”Returns
Section titled “Returns”object
allowJsDelivrFallback
Section titled “allowJsDelivrFallback”allowJsDelivrFallback:
boolean
bundles
Section titled “bundles”bundles:
DuckDBBundles