~ knotless Search/
↑↓ move↵ open⇧↵ all results

johnandersen777.bsky.social/socialweb-computer-watch

The socialweb.computer market's live topology from Jetstreams and relays, deduplicated; capture and replay

0
0
main
10 lines · 400 B Raw History
// One source per worker: the CBOR decode of a full relay firehose stays off the page's thread.
import { runSource } from "./source.js";

let stop;
onmessage = ({ data }) => {
	stop?.abort();
	stop = new AbortController();
	if (!data) return;
	runSource(data.url, { ...data, signal: stop.signal, emit: (frame, recv) => postMessage({ frame, recv }), status: (status) => postMessage({ status }) });
};