Module tiny_actor::config
source · [−]Expand description
Module containing the configuration for newly spawned actors. See Config for more details.
Structs
This decides how an actor with an unbouned channel handles message overload. This works
by applying a timeout whenever there are more than start_at messages in the channel.
The timeout Growth is multiplied with the given timeout.
Enums
This decides whether the actor is bounded or unbounded. If it is unbounded, then a BackPressure must be given.
How the timeout of an unbounded channel should grow, given more messages in the channel. This can either be linear or exponential.
This decides whether the actor is attached or detached. If it is attached, then the abort-timer is specified here as well.