toHandler abstract method

HandlerFunction<M, A> toHandler(
  1. List<Messenger<M, A>> messengers
)

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.

Implementation

HandlerFunction<M, A> toHandler(List<Messenger<M, A>> messengers);