@wpkernel/php-json-ast v0.12.6-beta.3
@wpkernel/php-json-ast / HelperApplyResult
Interface: HelperApplyResult<TOutput>
Optional transformation and compensation produced by a helper.
Remarks
Omitting output preserves the current output. A rollback is registered only after the helper completes successfully. Registered rollbacks participate in the pipeline's reverse execution and compensation chronology.
Type Parameters
TOutput
TOutput
Replacement output type for the helper phase.
Properties
output?
ts
readonly optional output: TOutput;Replacement passed to downstream helpers and later stages.
rollback?
ts
readonly optional rollback: HelperRollback<unknown>;Compensation to execute if later work causes the run to fail.
