import { Store } from "https://deno.land/x/willow@0.2.1/mod.universal.ts";
Attempt to store an authorised entry in the Store
.
An entry will not be ingested if it is unauthorised; if a newer entry with the same path and subspace are present; or if a newer entry with a path that is a prefix of the given entry exists. See the Willow Data Model's Concepts for more information.
Additionally, if the entry's path is a prefix of already-held older entries, those entries will be removed from the Store
. See prefix pruning for more information.
Parameters
entry: Entry<NamespaceId, SubspaceId, PayloadDigest>
Returns
Promise<IngestEvent<NamespaceId, SubspaceId, PayloadDigest, AuthorisationToken>>