MCPcopy Create free account
hub / github.com/b3nten/elysiatech / constructor

Method constructor

src/asset/arraybuffer.ts:5–8  ·  view source on GitHub ↗
(private url: string)

Source from the content-addressed store, hash-verified

3export class ArrayBufferAsset extends Asset<ArrayBuffer>
4{
5 constructor(private url: string)
6 {
7 super();
8 }
9 override async loadImpl(): Promise<ArrayBuffer>
10 {
11 const r = await fetch(this.url);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected