A music player that connects to your cloud/distributed storage. diffuse.sh
Something went wrong. Try again.
1234567891011121314151617181920212223import type { Tunnel } from "./worker.d.ts";
export type BroadcastingStatus = | { leader: true; initialLeader: boolean } | { leader: false };
export type HtmlTagFunction = ( strings: string[] | ArrayLike<string>, ...values: unknown[]) => string;
export type RenderArg<State = undefined> = { html: HtmlTagFunction; state: State;};
export type WorkerOpts = { forceNew?: boolean | { self?: boolean; dependencies?: Record<string, boolean>; };};