Skip to main content

block

Function block 

Source
pub async fn block()
Expand description

Blocks the service while active

In case if the local bus connection is dropped, the service is terminated immediately, as well as all its subprocesses

This behaviour can be changed by calling set_bus_error_suicide_timeout method and specifying a proper required shutdown timeout until the service is killed

ยงPanics

Will panic if RPC not set