Borg/pkg/player
Snider 5fcb3a2706 Refactor waitForWasm to use event listener and fix CI
Replaces the busy-wait polling loop in `waitForWasm` with a `borgstmf:ready` event listener.
This eliminates unnecessary CPU usage during initialization and potentially improves latency.

Also updates the `stmf.wasm` binary to ensure it contains the event dispatch logic present in `pkg/wasm/stmf/main.go`.

Fixes a CI build failure by changing `pkg/player/assets.go` to use directory embedding (`//go:embed frontend`) instead of explicit file embedding, which avoids errors when ignored files (like `demo-track.smsg`) are missing in the CI environment.
2026-02-02 03:04:11 +00:00
..
frontend feat: v3 streaming with LTHN rolling keys and configurable cadence 2026-01-12 16:01:59 +00:00
assets.go Refactor waitForWasm to use event listener and fix CI 2026-02-02 03:04:11 +00:00
player.go feat: Add dapp.fm native desktop player (Wails) 2026-01-06 18:42:30 +00:00