Module ibc_relayer::supervisor
source · Re-exports
pub use error::Error;
pub use error::ErrorDetail;
Modules
Structs
- Describes the result of
collect_events
. - A wrapper around the SupervisorCmd sender so that we can send stop signal to the supervisor before stopping the chain drivers to prevent the supervisor from raising errors caused by closed connections.
- Options for the supervisor
Functions
- Spawn a background task which verifies if there are idle workers and removes them if.
- Spawn a supervisor for testing purpose using the provided
Config
andSharedRegistry
. Returns aSupervisorHandle
that stops the supervisor when the value is dropped.