import { Prevalence } from "https://deno.land/x/prevalence@0.1.2/mod.ts";
TypeScript implementation for Deno of the Prevalence design pattern, as introduced by Klaus Wuestefeld in 1998 with Prevayler.
Saves periodical snapshots of the model, and journal of executed actions since last snapshot, using a Persister.
The Persister uses a Marshaller to serialize/deserialize the model and the journal.