pub fn cfg_callback<S, F>(
registry: Arc<FailPointRegistry>,
name: S,
f: F,
) -> Result<(), String>
Expand description
Configure the actions for a fail point at runtime.
Each fail point can be configured by a callback. Process will call this callback function when it meet this fail-point.