Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/willow/src/wgps/types.ts

Exploring Willow in the most efficient and sound programming language
Go to Latest
import * as willow from "https://deno.land/x/willow@0.2.1/src/wgps/types.ts";

Variables

The peer which initiated the synchronisation session.

The peer which did not initiate the synchronisation session.

Interfaces

A transport for receiving and sending data to with another peer

Type Aliases

Configures the types of StaticToken and DynamicToken for the Willow General Purpose Sync Protocol.

Complete the commitment scheme to determine the challenge for read authentication.

Allow the other peer to reduce its total buffer capacity by amount.

Ask the other peer to send an ControlAbsolve message such that the receiver remaining guarantees will be target.

Notify the other peer that it can stop dropping messages of this logical channel.

Make a binding promise of available buffer capacity to the other peer.

Ask the other peer to send an ControlAbsolve message such that the receiver remaining guarantees will be target.

Bind an Entry to a PayloadRequestHandle and request transmission of its Payload from an offset.

Set up the state for replying to a DataBindPayloadRequest message.

Transmit an AuthorisedEntry to the other peer, and optionally prepare transmission of its Payload.

Transmit some Payload bytes.

Express a preference whether the other peer should eagerly forward Payloads in the intersection of two AreaOfInterests.

Bind data to an IntersectionHandle for performing private area intersection.

Finalise private set intersection for a single item.

Send a previously requested SubspaceCapability.

Ask the receiver to send a SubspaceCapability.

Prepare transmission of the LengthyEntries a peer has in a 3dRange as part of 3d range-based set reconciliation.

Transmit a LengthyEntry as part of 3d range-based set reconciliation.

Send a Fingerprint as part of 3d range-based set reconciliation.

Indicate that no more bytes will be transmitted for the currently transmitted Payload as part of set reconciliation.

Messagest which belong to no logical channel.

Represents an authorisation to read an area of data in a Namespace

A message sent or received during a synchronisation session.

we refer to the peer that initiated the synchronisation session as Alfie, and the other peer as Betty.

The parameter schemes required to instantiate a WgpsMessenger.