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

x/willow/src/wgps/reconciliation/announcer.ts>Announcer

Exploring Willow in the most efficient and sound programming language
Go to Latest
class Announcer
import { Announcer } from "https://deno.land/x/willow@0.2.1/src/wgps/reconciliation/announcer.ts";

Type Parameters

Prefingerprint
Fingerprint
AuthorisationToken
StaticToken
DynamicToken
NamespaceId
SubspaceId
PayloadDigest
AuthorisationOpts

Properties

private
announcementPackQueue: FIFO<AnnouncementPack<StaticToken, DynamicToken, NamespaceId, SubspaceId, PayloadDigest>>
private
payloadScheme: PayloadScheme<PayloadDigest>
private
staticTokenHandleMap: Map<string, bigint>
private
staticTokenHandleStoreOurs: HandleStore<StaticToken>

Methods

private
getStaticTokenHandle(staticToken: StaticToken): { handle: bigint; alreadyExisted: boolean; }
queueAnnounce(announcement: { senderHandle: bigint; receiverHandle: bigint; store: Store<NamespaceId, SubspaceId, PayloadDigest, AuthorisationOpts, AuthorisationToken, Prefingerprint, Fingerprint>; namespace: NamespaceId; range: Range3d<SubspaceId>; wantResponse: boolean; covers: bigint | COVERS_NONE; })