This commit is contained in:
2025-06-14 12:52:53 -04:00
parent cd5815b77c
commit c39daa5508
3 changed files with 23 additions and 6 deletions

View File

@@ -6,4 +6,11 @@ local function report(reactor)
end
end
return { report = report }
local function watch(reactor, monitor)
while true do
print("Temperature: " .. report(reactor))
sleep(1)
end
end
return { report = report, watch = watch }