injectResult

var injectResult: () -> Any??

If set, overrides the block's return value when no fault fires.

The user block is still called (to allow side-effects if needed), but its result is discarded and the value produced by this factory is returned instead. null means no result override.