Table of Contents

Event ClockEvents

Namespace
KZDev.PrimeTime.Testing
Assembly
KZDev.PrimeTime.Testing.dll

Occurs when the clock publishes a discriminated lifecycle or virtual-time event.

public event PrimeTestClockEventHandler? ClockEvents

Returns

PrimeTestClockEventHandler
Occurs when the clock publishes a discriminated lifecycle or virtual-time event.
Implements

Remarks

Subscriber exceptions propagate to the caller that raised the event. Raise paths capture this delegate once, skip payload allocation when the snapshot is null, then invoke the snapshot. Multicast invocation stops at the first throwing handler; later handlers are not called. Raises from the automatic runner run on the background runner thread, so an unhandled subscriber exception can abort virtual-time work in progress or terminate the runner while IsRunning is still true.