foottrace/write — write a record
foottrace/write belongs to the foottrace package, not to footprintjs. foottrace owns the run record: its
writer, its readers and the rules for both. footprintjs writes every run through it, but does not re-export it.
import { EventLog, RecordFrame, SharedMemory } from 'foottrace/write';The writer and its contract are documented with the package:
For an engine-side example, see
examples/post-execution/time-travel/07-write-a-record.ts.