Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/earthstar/src/syncer/syncer_types.ts>RangeMessage

Earthstar is a tool for private, undiscoverable, offline-first networks.
Go to Latest
type alias RangeMessage
import { type RangeMessage } from "https://deno.land/x/earthstar@v10.0.0-alpha.4/src/syncer/syncer_types.ts";
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"; }