Everything written this session that has not been through the device: rounds 43 to 48 (each patch adversarially verified, 43's transient-notice expectation fixed), a partial round 49, the pipeline scripts, the Android Auto design and the icon comparison mock. Also the two harness changes that were never A/B'd — adaptive waits, which may only shorten a declared wait and never lengthen it, and a ship that runs the mock walk and the deploy at the same time. The A/B and its 255-step baseline are in handoff/tools; main stays at what the phone has actually walked.
12 lines
686 B
Plaintext
12 lines
686 B
Plaintext
/* Two subscriptions in one round, for the same reason as everywhere
|
|
else this round: `listen` is an invoke, so one behind the other is
|
|
two bridge round trips at launch. Both are in flight from here; they
|
|
are awaited together at the end, so neither can reject with nobody
|
|
listening. */
|
|
const streamSub = listen("soulseek:stream", (ev) => {
|
|
const p = ev.payload || {};
|
|
if (!current()?.t?.stream) return;
|
|
player.stream = { received: p.received || 0, total: p.total || 0, done: !!p.done, failed: p.failed || null };
|
|
if (p.failed) setErr("The stream from " + current().t.stream.username + " failed: " + p.failed);
|
|
});
|