drupflare/worker - v1.0.0
Preparing search index...
ops/catalog
loadCatalog
Function loadCatalog
loadCatalog
(
bucket
:
|
{
get
(
key
:
string
)
:
Promise
<
{
text
()
:
Promise
<
string
>
}
|
null
>
}
|
null
|
undefined
,
key
?:
string
,
)
:
Promise
<
Catalog
|
null
>
reads the catalog out of R2, or null when there is none
Parameters
bucket
:
|
{
get
(
key
:
string
)
:
Promise
<
{
text
()
:
Promise
<
string
>
}
|
null
>
}
|
null
|
undefined
key
:
string
= 'catalog.json'
Returns
Promise
<
Catalog
|
null
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
drupflare/worker - v1.0.0
Loading...
reads the catalog out of R2, or null when there is none