power.onResume()event
The power.onResume() event is thrown each time the computer is resumed from sleep.
Return value
This event returns no valueExample
--! luart-extensions
import power
function power.onResume()
print("Computer just resumed from sleep state")
end
print("Waiting for the computer to resume...")
waitall()