MCPcopy Create free account
hub / github.com/Monogatari/Monogatari / getAudioBufferPersistent

Method getAudioBufferPersistent

src/monogatari.ts:1150–1152  ·  view source on GitHub ↗

* Retrieve a decoded AudioBuffer from persistent storage (IndexedDB) * @param key - Cache key (e.g., 'music/theme') * @returns The AudioBuffer if found, undefined otherwise

(key: string)

Source from the content-addressed store, hash-verified

1148 * @returns The AudioBuffer if found, undefined otherwise
1149 */
1150 static async getAudioBufferPersistent(key: string): Promise<AudioBuffer | undefined> {
1151 return _getAudioBufferPersistent(this.asEngine(), key);
1152 }
1153
1154 /**
1155 * Remove an AudioBuffer from persistent storage (IndexedDB)

Callers 1

setupMethod · 0.80

Calls 1

asEngineMethod · 0.95

Tested by

no test coverage detected