Stubbed Installer task methods

This commit is contained in:
2021-11-15 23:13:36 -06:00
parent 1ab835ba98
commit d0d8683c4e
2 changed files with 26 additions and 3 deletions

View File

@@ -86,12 +86,12 @@ class W3DHub
# No application tasks are being done
def idle?
@tasks.empty?
!busy?
end
# Whether some operation is in progress
def busy?
!idle?
@tasks.any? { |t| t.state == :running }
end
end
end