pub async fn build<A: Aggregate>(
database_url: &str,
projectors: Vec<ProjectorReg>,
snapshot_policy: Option<SnapshotPolicy>,
) -> Result<EsStack<A>, Box<dyn Error>>Expand description
Build the in-process stack for the configured driver, registering the
supplied projectors against the in-process bus so writes drive their views
synchronously. Used by CLI utilities (migrate --seed, seed) and tests.