class

TimeControl::PendingTimersError

Inherits TimeControl::Error < Exception < Reference < Object

Raised when the TimeControl.control block exits with virtual timers still pending, indicating that not all scheduled sleeps or timeouts were advanced past.

The number of pending timers is available via #count.

Constructors

new(count : Int32)
Source

Instance methods

count

Returns the number of timers that were still pending.

Source