inactivityTimeout
Return
configured inactivity timeout.
See also
open fun inactivityTimeout(@Nullable inactivityTimeout: @Nullable Duration): HandlerDefinition.Configurator
This timer guards against stalled invocations. Once it expires, Restate triggers a graceful termination by asking the invocation to suspend (which preserves intermediate progress).
The abortTimeout is used to abort the invocation, in case it doesn't react to the request to suspend.
This overrides the inactivity timeout set for the service and the default set in restate-server.
NOTE: You can set this field only if you register this service against restate-server >= 1.4, otherwise the service discovery will fail.
Return
this