WorkflowCompensationRegistration class final
Compensation metadata committed together with a successful checkpoint.
Constructors
- WorkflowCompensationRegistration({required String handler, required Object? input, WorkflowRetryPolicy retryPolicy = const WorkflowRetryPolicy()})
-
Creates a stable named registration with its encoded successful result.
const
Properties
- handler → String
-
Handler ID resolved from executable definitions after restart.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- input → Object?
-
Encoded result snapshot, not a mutable closure capture.
final
- retryPolicy → WorkflowRetryPolicy
-
Independent compensation retry budget.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJournalData(
) → Map< String, Object?> - Initial persisted state; never contains executable callbacks.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited