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

x/willow/mod.universal.ts>Store#ingestPayload

Exploring Willow in the most efficient and sound programming language
Go to Latest
method Store.prototype.ingestPayload
Re-export
import { Store } from "https://deno.land/x/willow@0.2.1/mod.universal.ts";

Attempt to store the corresponding payload for one of the store's entries.

A payload will not be ingested if the given entry is not stored in the store; if the hash of the payload does not match the entry's; or if it is already held.

Parameters

entryDetails: { path: Path; timestamp: bigint; subspace: SubspaceId; }
payload: AsyncIterable<Uint8Array>
optional
offset = [UNSUPPORTED]