def with_compensation()

in message_flow/sagas/orchestration_simple_dsl/invoke_participant_step_builder.py [0:0]


    def with_compensation(
        self,
        compensation: Callable[[Data], CommandWithDestination],
        *,
        compensation_predicate: Optional[Callable[[Any], bool]] = None,