Skip to main content

Module memory_pointers

Module memory_pointers 

Source
Expand description

File-linked memory as pointers: when a cell writes a file (a checked write()/edit() or any other change the after-cell snapshot finds) that matches a typed record’s pathGlobs, the lane’s next cell result ends with one line per record, [memory] <id> <type>: <situation>, never the record’s content: the model reads it with memory.get(id) when it wants it. At most MAX_POINTERS lines per cell; each record is pointed at once per session. The setting memory.filePointers: false turns this off.

Structs§

MemoryPointers
The pointers of one session, over the shared record index.

Constants§

MAX_POINTERS
Pointer lines per cell.

Functions§

file_pointers_enabled
Whether the settings leave file pointers on (memory.filePointers, default true).
pointer_line
One pointer line.
session_pointers
A session’s pointer observer, or None when the settings turn pointers off (what the composition root registers with the session’s file hooks).