Skip to main content

getAsset

function getAsset
Jump to headinggetAsset(key: AssetKey): ArrayBuffer

Deno compatibility

This symbol is not supported.

This method can be used to retrieve the assets configured to be bundled into the single-executable application at build time. An error is thrown when no matching asset can be found.

Parameters Jump to heading

Return Type Jump to heading

ArrayBuffer
Jump to headinggetAsset(
key: AssetKey,
encoding: string,
): string

Deno compatibility

This symbol is not supported.

Parameters Jump to heading

Return Type Jump to heading

string
Back to top