import { type WriteAheadFlag } from "https://deno.land/x/willow@0.2.1/mod.universal.ts";
Writes and reads flags indicating write operations to the store, in order to recover from errors mid-write.
Methods
wasInserting(): Promise<{ entry: Entry<NamespaceId, SubspaceId, PayloadDigest>; authTokenHash: PayloadDigest; } | undefined>
wasRemoving(): Promise<Entry<NamespaceId, SubspaceId, PayloadDigest> | undefined>
flagInsertion(entry: Entry<NamespaceId, SubspaceId, PayloadDigest>, authTokenHash: PayloadDigest): Promise<void>
flagRemoval(entry: Entry<NamespaceId, SubspaceId, PayloadDigest>): Promise<void>