rollback method

FutureOr<void> rollback(
  1. Input data,
  2. ChainContext context
)
inherited

Optional rollback logic for the step

Called when chain execution fails and rollback is requested. Use this to cleanup resources or revert changes. Default implementation does nothing.

Implementation

FutureOr<void> rollback(Input data, ChainContext context) async {}