Describe the feature
it'd be nice to have a method that side-effects can use to be notified when they won't be called (e.g. if a prior side-effect fails)
Additional context
my use-case is shoving a ftapi Transaction into a side-effect, so that it commits when reached but is properly aborted if something goes wrong before then. currently, it's not possible to safely do this as side-effects are not guaranteed to be reached, forcing me to perform side-effects during action execution.
would be willing to implement if this is a reasonable feature
Describe the feature
it'd be nice to have a method that side-effects can use to be notified when they won't be called (e.g. if a prior side-effect fails)
Additional context
my use-case is shoving a ftapi
Transactioninto a side-effect, so that it commits when reached but is properly aborted if something goes wrong before then. currently, it's not possible to safely do this as side-effects are not guaranteed to be reached, forcing me to perform side-effects during action execution.would be willing to implement if this is a reasonable feature