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

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

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

Return an array of Entry which would be pruned by a given Entry were it to be ingested. Can be used to prevent potentially undesirable destructive operations.

Parameters

unnamed 0: { path: Path; subspace: SubspaceId; timestamp: bigint; }

Returns

Promise<{ entry: Entry<NamespaceId, SubspaceId, PayloadDigest>; authTokenHash: PayloadDigest; }[]>