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

x/range_reconcile/mod.ts>RangeMessenger#consolidateAdjacentDones

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

Consolidate many adjacent done messages into a single done message, with the upper bound of the last one.

Parameters

result: ProcessStageResult<ValueType, LiftedType>

Returns

ProcessStageResult<ValueType, LiftedType>[] | undefined