class

Phosphor::TickEvent

Inherits Phosphor::Event < Reference < Object

A heartbeat event emitted by TickPort at a configured interval.

Widgets that animate (spinners, progress bars, blinking cursors) consume TickEvent in MockWidget#handle_cmd to advance their state each frame. The timestamp lets animations compute elapsed time rather than assuming a fixed cadence.

Constructors

new(timestamp : Time)
Source

Instance methods

timestamp
Source