Module tiny_tokio_actor::supervision
source · Expand description
Actor Supervision Strategies
To supervise actor startup, you can choose to just have the actor Stop,
or set a super::RetryStrategy
. There are three built-in strategies you can
use: NoIntervalStrategy
, FixedIntervalStrategy
,
and ExponentialBackoffStrategy
.
You can also opt to create your own strategy by implementing the provided
super::RetryStrategy
trait.
Structs
- A retry strategy that retries an actor with an exponential backoff wait period before retrying.
- A retry strategy that retries an actor with a fixed wait period before retrying.
- A Retry strategy that immediately retries an actor that failed to start