Returns the next batch of execution events after after, oldest first.
Sequence cursor; 0 starts at the oldest retained record
Optionallimit: number
Maximum events to return, 1–128 (default 128)
A frozen DiagnosticsBatch
Returns the current composition snapshot. Repeated calls between mutations return the same frozen, cached object; a mutation rebuilds it.
A deeply frozen DiagnosticsSnapshot
Read-only diagnostics reader — the surface exposed through the optional
IApplication.diagnosticsmember when the application was created with diagnostics explicitly enabled.Pull-only by contract: neither method registers a callback, invokes application code, resolves a service, or mutates state. Readers are independent and non-destructive — one slow or stopped reader never steals events from another. Returned data is deeply frozen; holding it cannot observe later application activity.
Example
Since
0.8.0