mirror of
https://github.com/cyberarm/w3d_hub_linux_launcher.git
synced 2025-12-16 09:12:35 +00:00
Stubbed Installer task methods
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user