(path: string)
| 125 | declare function bloom_commit_music(handle: number): number; |
| 126 | |
| 127 | export async function loadSoundAsync(path: string): Promise<Sound> { |
| 128 | const stagingHandle = await spawn(() => bloom_stage_sound(path as any)); |
| 129 | const handle = bloom_commit_sound(stagingHandle); |
| 130 | return { handle }; |
| 131 | } |
| 132 | |
| 133 | export async function loadMusicAsync(path: string): Promise<Music> { |
| 134 | const stagingHandle = await spawn(() => bloom_stage_sound(path as any)); |
nothing calls this directly
no test coverage detected