execute
Executes block, potentially injecting latency, a fault, or an overridden result.
Return
The result of block, or the ChaosConfig.injectResult override.
Parameters
block
The suspendable operation to execute.
Type Parameters
T
The return type of block.
Throws
The configured ChaosConfig.exception when a fault is injected.