ResumeOnRestart
pulse.resumeOnRestart(resume)
pulse.resumeOnRestart(resume)
The resumeOnRestart
method sets a flag to ensure that jobs are resumed if the system restarts. This is particularly important for resuming unfinished jobs that were in progress or awaiting execution prior to the restart.
Example Usage
Parameters
resume
(boolean
- optional): Iftrue
, enables resuming unfinished jobs after restart. Defaults totrue
.
Returns
Pulse
: Returns the instance of thePulse
class, enabling method chaining.
Last updated