Partially working download manager details for packages (more work needed)

This commit is contained in:
2021-11-16 15:29:03 -06:00
parent b99938ae3c
commit 2ccc09d0b4
4 changed files with 74 additions and 14 deletions

View File

@@ -93,5 +93,9 @@ class W3DHub
def busy?
@tasks.any? { |t| t.state == :running }
end
def current_task
@tasks.find { |t| t.state == :running }
end
end
end