enum

Async::Future::State

Inherits Enum / Comparable / Value / Object

Constants

Idle = 0
Delayed = 1
Running = 2
Completed = 3
Canceled = 4

Instance methods

canceled?

Returns true if this enum value equals Canceled

Source
completed?

Returns true if this enum value equals Completed

Source
delayed?

Returns true if this enum value equals Delayed

Source
idle?

Returns true if this enum value equals Idle

Source
running?

Returns true if this enum value equals Running

Source