function · events
after
Returns bounded post-commit events after a sequence.
events.after(sequence, maximum_count) -> event[]
- Stable ID
events.after- Owner
- app.ScriptPackageHost
- Authority
- read_only
- Timing
- post_commit
- Availability
- Phase 14 package callbacks
- Side effects
- none
- Determinism
- Host-created package identity and per-callback budgets.
- Introduced
- 1.0.0
Usage
Read a bounded post-commit event page after the last sequence already processed by the package.
Parameters
- sequence: last consumed event sequence; use 0 to begin at retained history.
- maximum_count: positive result limit capped by the host.
Returns
A stable sequence-ordered array of retained post-commit events after the supplied sequence.
Cost
Constant-size contract lookup or bounded retained-record access.
Fields
This symbol has no fields.
Errors
- None
Examples
local events_since_last_frame = events.after(last_sequence, 8)
API history
- 1.0.0: Runtime contract published from the complete Phase 14 registry.