Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/range_reconcile/src/range_messenger/range_messenger.ts>RangeMessenger#respond

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

Formulates and returns the appropriate response given a message from another peer. May insert values into the RangeMessenger's tree.

This method must be called with the messages from another peer, in the order they came.

Parameters

message: EncodedMessageType

Returns

Array<EncodedMessageType>