Preparing search index...
The search index is not available
@turbowarp/types-tw
@turbowarp/types-tw
scratch-storage
ScratchStorage
Helper
Interface Helper
interface
Helper
{
load
(
assetType
:
ScratchStorage
.
AssetType
,
assetId
:
string
,
dataFormat
:
DataFormat
,
)
:
Promise
<
Asset
>
;
store
(
assetType
:
ScratchStorage
.
AssetType
,
dataFormat
:
DataFormat
,
data
:
ArrayBuffer
,
assetId
:
string
,
)
:
Promise
<
unknown
>
;
}
Index
Methods
load
store
Methods
load
load
(
assetType
:
ScratchStorage
.
AssetType
,
assetId
:
string
,
dataFormat
:
DataFormat
,
)
:
Promise
<
Asset
>
Parameters
assetType
:
ScratchStorage
.
AssetType
assetId
:
string
dataFormat
:
DataFormat
Returns
Promise
<
Asset
>
store
store
(
assetType
:
ScratchStorage
.
AssetType
,
dataFormat
:
DataFormat
,
data
:
ArrayBuffer
,
assetId
:
string
,
)
:
Promise
<
unknown
>
Parameters
assetType
:
ScratchStorage
.
AssetType
dataFormat
:
DataFormat
data
:
ArrayBuffer
assetId
:
string
Returns
Promise
<
unknown
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Methods
load
store
@turbowarp/types-tw
Loading...