Struct ScheduleSink

Struct Documentation

struct ScheduleSink

Destination for the structured schedule dump (SCHEDULE_RUN_EVENT records) emitted by evaluate(). A caller sets one on the (root) cache to capture one evaluation’s batched schedule to os; fired is a fire-once latch the caller raises after the first capture so a later re-entry (e.g. a subsequent CC iteration) does not re-dump. Null sink / null os => no dump (the default). Non-owning: os must outlive the cache.

Public Members

std::ostream *os = nullptr
bool fired = false