keepBeating
keepBeating(
heartbeat,now?,everyMs?,log?): () =>void
Defined in: ../cli/watcher.ts:266
Beats now, and again every everyMs until the returned function is called: a command can run
for longer than ALIVE_FOR_MS, and the freehand script must not take over while it does. A beat
that fails (the inbox folder gone for a moment) is logged, not thrown: it must never stop the work.
Parameters
Section titled “Parameters”heartbeat
Section titled “heartbeat”Heartbeat | null | undefined
number = ...
everyMs?
Section titled “everyMs?”number = ALIVE_EVERY_MS
(line) => void
Returns
Section titled “Returns”() => void