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

x/willow/mod.browser.ts>PayloadScheme

Exploring Willow in the most efficient and sound programming language
Go to Latest
type alias PayloadScheme
Re-export
import { type PayloadScheme } from "https://deno.land/x/willow@0.2.1/mod.browser.ts";

Configures the PayloadDigest parameter of the Willow data model, as well as some associated parameters for the Willow General Sync Protocol.

Type Parameters

PayloadDigest
definition: EncodingScheme<PayloadDigest> & { fromBytes: (bytes: Uint8Array | AsyncIterable<Uint8Array>) => Promise<PayloadDigest>; order: (a: PayloadDigest, b: PayloadDigest) => -1 | 0 | 1; defaultDigest: PayloadDigest; }