struct

TermBuf::Input::Events::Timer

Inherits TermBuf::Input::Event < Struct < Value < Object

A timer the application armed with Timers#after has gone off.

nonce is what #after handed back, which is how an application running several timers tells them apart, and how one it no longer cares about is recognised: a timer cancelled while its tick was already in flight is dropped before it gets here, so anything that arrives was still wanted when it was delivered.

Constructors

new(nonce : Input::Nonce)
Source

Instance methods

clone
Source
copy_with(nonce _nonce = @nonce)
Source
nonce