GroupStrategy<M, A> class abstract

A strategy for forwarding messages and selecting or computing an answer from a group of Messenger instances.

Typically used with the ActorGroup class.

Implementers

Constructors

GroupStrategy()
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<M, A>> messengers) HandlerFunction<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.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited