EventStore.read_snapshot
You're seeing just the callback
read_snapshot
, go back to EventStore module for more information.
Specs
read_snapshot(source_uuid :: String.t(), opts :: options()) :: {:ok, EventStore.Snapshots.SnapshotData.t()} | {:error, :snapshot_not_found}
Read a snapshot, if available, for a given source.
Returns {:ok, %EventStore.Snapshots.SnapshotData{}}
on success, or
{:error, :snapshot_not_found}
when unavailable.