Intelligence · function
notePreemption
Record that the abort being taken is a preemption.
Explained in Agents and behaviour.
function notePreemption(usage: AiUsage): voidimport { notePreemption } from '@driftengine/ai';Parameters
| Parameter | Type | Description |
|---|---|---|
usage | AiUsage |
In depth
Only the narrow counter. noteAbort moves the broad one, so a preemption increments
both by going through both — and neither function has to know what the other did.