RoundRobin<M, A> class
GroupStrategy that sends a message to a single member of the group, iterating over all members as messages are sent.
- Inheritance
-
- Object
- GroupStrategy<
M, A> - RoundRobin
Constructors
- RoundRobin()
-
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toHandler(
List< Messenger< messengers) → HandlerFunction<M, A> >M, A> -
Get a HandlerFunction that uses this strategy to forward messages
to the provided
messengers
, returning a single answer that may be either provided by one of the given messengers, or computed by combining in some way the answers given by the messengers.override -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited