Documentation
¶
Overview ¶
Package execution protects registered workflow and step invocations. Native replay-control panics remain under the runtime's authority.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Protect ¶
func Protect( ctx context.Context, logger *slog.Logger, repanic func(any) bool, permanent func(error) error, err *error, )
Protect must be deferred directly. It logs the stack but does not persist it. Accepted control-flow panics propagate unchanged; ordinary panics become errors, optionally marked permanent by the owning public package.
func Repanicker ¶
Repanicker returns the optional native runtime control-flow hook.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.