Termisu::Event::Poller::PollResult
Inherits Struct / Value / Object
Result of a poll wait operation.
Contains the event type and associated data:
- For fd events: the file descriptor that triggered
- For timer events: the timer handle and expiration count
Constructors
new(type : Type, fd : Int32 = -1, timer_handle : TimerHandle | Nil = nil, timer_expirations : UInt64 = 0_u64)
SourceInstance methods
fd
Sourcetimer_expirations
Sourcetimer_handle
Sourcetype
Source