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

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

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

Retrieve an asynchronous iterator of entry-payload-authorisation triples from the store for a given Range.

Always returns entries in chronological order.

Parameters

range: Range3d<SubspaceId>
order: "newest" | "oldest"

Returns

AsyncIterable<[Entry<NamespaceId, SubspaceId, PayloadDigest>, Payload | undefined, AuthorisationToken]>