eventstore v0.7.0 EventStore.Snapshots.Snapshotter

Record and read snapshots of process state

Summary

Functions

Read a snapshot, if available, for a given source

Record a snapshot of the data and metadata for a given source

Record a snapshot of the data and metadata for a given source

Functions

read_snapshot(source_uuid)

Read a snapshot, if available, for a given source

record_snapshot(snapshot)

Record a snapshot of the data and metadata for a given source

Returns :ok on success

record_snapshot(snapshot, timeout)

Record a snapshot of the data and metadata for a given source

  • timeout is an integer greater than zero which specifies how many milliseconds to wait for a reply, or the atom :infinity to wait indefinitely. The default value is 5000. If no reply is received within the specified time, the function call fails and the caller exits.

Returns :ok on success

start_link(serializer)