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

x/earthstar/deps.ts>RangeMessenger#respond

Earthstar is a tool for private, undiscoverable, offline-first networks.
Go to Latest
method RangeMessenger.prototype.respond
Re-export
import { RangeMessenger } from "https://deno.land/x/earthstar@v10.0.0/deps.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>