Expand description
The spool ledger’s commands and reads, through the one granted path.
A spool command is an action of its own kind: the safety envelope grants it
per actor class exactly as it grants a print action, an ungranted one is
refused ActorMayNotRequest, and
one the ledger cannot carry out is refused
SpoolRefused with a tagged
SpoolRefusalCause a client acts on, beside a sentence for a person. Every refusal
writes a spool_command_rejected, and every accepted command writes its
spool events through one store write carrying who asked and why — so a
remaining figure can be traced to every print and correction behind it.
Every command is carried out under the supervisor’s one spool lock, so two commands — or a command and a settlement — never compute from the same stale figure.
§A load mid-print, and a load after an unconfirmed change
A load or unload during a print first charges what the tool fed up to the position read now to the spool that was feeding it, and opens the next segment for the spool loaded; the close-out charges that spool only the remainder. After an unconfirmed filament change the open segment is not the outgoing spool’s: a load of another spool takes every pending charge on the tool and the open post-signal segment to that point, and a load naming the spool already there confirms it was never swapped — taking the pending charges, clearing its filament-change marks and charging nothing for the open segment, which the close-out charges to it as the remainder.
Structs§
- Spool
Command Outcome - What became of one spool command.