EventStore.record_snapshot

You're seeing just the callback record_snapshot, go back to EventStore module for more information.
Link to this callback

record_snapshot(snapshot, opts)

View Source

Specs

record_snapshot(
  snapshot :: EventStore.Snapshots.SnapshotData.t(),
  opts :: options()
) :: :ok | {:error, reason :: term()}

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

Returns :ok on success.