Whether the current invocation is in the processing phase (as opposed
to replaying its journal). Aligns with the core SDK's
ContextInternal.isProcessing().
Returns true/false when called inside an active fiber backed by a
real Restate context, and undefined when there is no such context
(outside execute(), or in scheduler-only tests with no SDK context).
WARNING: this is the same mechanism ctx.console uses to decide
whether to log during replay. Do not use it to influence control
flow — doing so will surely lead to non-determinism errors. It is
intended for observability concerns only (logging, metrics).
Whether the current invocation is in the processing phase (as opposed to replaying its journal). Aligns with the core SDK's
ContextInternal.isProcessing().Returns
true/falsewhen called inside an active fiber backed by a real Restate context, andundefinedwhen there is no such context (outsideexecute(), or in scheduler-only tests with no SDK context).WARNING: this is the same mechanism
ctx.consoleuses to decide whether to log during replay. Do not use it to influence control flow — doing so will surely lead to non-determinism errors. It is intended for observability concerns only (logging, metrics).