feat(postgres): Implement Postgres-backed 'advance' function

Transactionally updates a state machine with an incoming event. Note
that this does not yet interpret actions.
This commit is contained in:
Vincent Ambo 2018-09-26 17:28:45 +02:00
parent b1e00ff026
commit 40caa5ffa2
2 changed files with 73 additions and 14 deletions

View file

@ -5,4 +5,5 @@ use std::result;
pub type Result<T> = result::Result<T, Error>;
#[derive(Debug)]
pub enum Error { SomeError }