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

x/range_reconcile/mod.ts>RangeMessenger#decode

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

Decodes an incoming message, and remembers its upper bound to use as a lower bound for the next message.

Parameters

message: EncodedMessageType

Returns

DecodeStageResult<ValueType, LiftedType>