getAssetAsBlob
external fun getAssetAsBlob(key: AssetKey, options: GetAssetAsBlobOptions = definedExternally): Blob(source)
Similar to sea.getAsset()
, but returns the result in a Blob
. An error is thrown when no matching asset can be found.
Since
v20.12.0