Skip to main content
Module

x/earthstar_replica_server/deps.ts>Earthstar.RangeMessage

An always-online Earthstar peer for your shares.
Latest
type alias Earthstar.RangeMessage
import { type Earthstar } from "https://deno.land/x/earthstar_replica_server@4.0.0-beta.1/deps.ts";
const { RangeMessage } = Earthstar;
definition:
| { type: "EMPTY_SET"; canRespond: boolean; }
| { type: "LOWER_BOUND"; value: DocThumbnail; }
| { type: "PAYLOAD"; payload: DocThumbnail; end?: { canRespond: boolean; upperBound: DocThumbnail; }; }
| { type: "EMPTY_PAYLOAD"; upperBound: DocThumbnail; }
| { type: "FINGERPRINT"; fingerprint: string; upperBound: DocThumbnail; }
| { type: "DONE"; upperBound: DocThumbnail; }
| { type: "TERMINAL"; }