pub fn capture_transcript<M: Send + Sync + 'static>(
flow: &BrinkFlow<M>,
program: &ProgramAsset,
) -> Vec<u8> ⓘExpand description
Serialize a flow’s current transcript to .brkt bytes for saving.
Store the returned bytes however your save system persists them; load
them back through the .brkt asset loader (or
read_transcript) and
re-display with render_transcript_asset. The bytes embed the program’s
source_checksum so a load can detect a mismatched story version.