struct

Engram::SyncResult

Inherits Struct < Value < Object

The outcome of one Sync.run pass: which memory ids were applied, rolled back, or updated in place, plus the resulting active count.

Constructors

new(applied : Array(Int64), rolled_back : Array(Int64), updated : Array(Int64), active_count : Int32)

Builds a result from the ids touched by this sync and the resulting active count.

Source

Instance methods

active_count
Source
applied
Source
rolled_back
Source
summary

One-line human summary, e.g. "engram: +2 applied, -3 rolled back, 1 updated (47 active)".

Source
updated
Source