export async function myWorkflow(): Promise<void> {
console.log("begin");
...
}
I notice that when I kill my workflow worker while it is running a workflow and then start the worker process again, it picks up from where it left off (very cool!) Which… if I understand the Temporal documentation correctly… occurs because events are replayed in the worker.
I’m guessing that console logging is suppressed during the replay process? From what I understand from the documentation, the console.log
would be being called in the second execution, though I don’t see “begin
” being output on the worker terminal. Is the console output being suppressed during replay to avoid emitting logs that have already been displayed?
Thanks!