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

x/range_reconcile/mod.ts>RangeMessenger#initialMessages

Efficiently sync sets with range-based set reconciliation
Go to Latest
method RangeMessenger.prototype.initialMessages
Re-export
import { RangeMessenger } from "https://deno.land/x/range_reconcile@0.1.2/mod.ts";

Returns the opening messages for initiating an exchange between two peers.

Parameters

optional
partitionItems: (items: ValueType[]) => ValueType[][]

Returns

Iterable<EncodedMessageType>