Skip to main content

register_timeout_layer

Function register_timeout_layer 

pub fn register_timeout_layer(registry: &OperatorRegistry)
Available on crate feature layers-timeout only.
Expand description

Register the timeout layer with an operator registry.

Supports timeout and io_timeout as positive durations such as 500ms or PT1S. Omitted options keep the defaults from TimeoutLayer::new.