Right now, audio-wrapper exposes a preloadSrc property that can be set to create an audio element that can be quickly swapped in if src is set to the same URL later. This seems to work well enough, although there's usually a tiny audible hiccup between tracks.
https://dalecurtis.github.io/llama-demo/index.html provides guidance about doing gapless playback using Media Source Extensions, but it requires a lot of work (e.g. parsing LAME or iTunes headers to know how many empty samples there are at the beginnings and ends of song files, and downloading song data and manually copying it into a MediaSource).
I doubt I'll feel inspired to implement proper gapless playback, and I don't even know how much of my music contains the necessary metadata, but I'm filing this to remove a TODO from the code.