struct
Topia::ConcurrentExecutor::TaskJob
- Topia::ConcurrentExecutor::TaskJob
- Struct
- Value
- Object
Defined in:
topia/concurrent_executor.crConstructors
Instance Method Summary
- #completed_at : Time | Nil
- #completed_at=(completed_at : Time | Nil)
- #dependencies_resolved : Bool
- #dependencies_resolved=(dependencies_resolved : Bool)
- #duration : Time::Span | Nil
- #estimated_duration : Time::Span
- #estimated_duration=(estimated_duration : Time::Span)
- #max_retries : Int32
- #max_retries=(max_retries : Int32)
- #priority : Int32
- #priority=(priority : Int32)
- #retry_count : Int32
- #retry_count=(retry_count : Int32)
- #started_at : Time | Nil
- #started_at=(started_at : Time | Nil)
- #task : Task
- #task=(task : Task)
Constructor Detail
def self.new(task : Task, priority : Int32 = 0, estimated_duration : Time::Span = 1.second, max_retries : Int32 = 0)
#