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

x/willow/src/wgps/data/data_sender.ts>DataSender

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

Constructors

new
DataSender(opts: { handlesPayloadRequestsTheirs: HandleStore<{ offset: bigint; entry: Entry<NamespaceId, SubspaceId, PayloadDigest>; }>; getStore: GetStoreFn<Prefingerprint, Fingerprint, AuthorisationToken, AuthorisationOpts, NamespaceId, SubspaceId, PayloadDigest>; transformPayload: (chunk: Uint8Array) => Uint8Array; })

Type Parameters

Prefingerprint
Fingerprint
AuthorisationToken
DynamicToken
NamespaceId
SubspaceId
PayloadDigest
AuthorisationOpts

Properties

private
internalQueue: FIFO<DataSendEntryPack<DynamicToken, NamespaceId, SubspaceId, PayloadDigest> | DataBindPayloadRequestPack>