new (task:Void ‑> Bool, priority:Int, id:Int)
active:Bool
id:Int
paused:Bool
priority:Int
task:Void ‑> Bool