Documentation
¶
Overview ¶
Package keepawake stops the host from idle-sleeping while long work runs.
On macOS it holds a caffeinate assertion tied to this process's PID, so the assertion ends even if jevkit is killed. Elsewhere it is a no-op. Keeping the machine awake is best effort and never fails the caller.
Index ¶
Constants ¶
View Source
const DisableEnv = "JEVKIT_NO_CAFFEINATE"
DisableEnv turns keep-awake off when set to a non-empty value.
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.