This Monoid allows code to depends on the results of asynchronous
computation. It is relatively common to have code which takes a
Monoid and elements, but applies the computation in an opaque way
(a cache, for example). This allows the code handing over the
elements (in this case, Tunnel objects) to depend on the result
of the Monoid's computation. Note that this code does not depend
on any particular Monoid -- that dependency is strictly when the Tunnel
objects are created. This is the async analogue of Function1Monoid.
Linear Supertypes
Monoid[Tunnel[V]], Semigroup[Tunnel[V]], Serializable, AnyRef, Any
This Monoid allows code to depends on the results of asynchronous computation. It is relatively common to have code which takes a Monoid and elements, but applies the computation in an opaque way (a cache, for example). This allows the code handing over the elements (in this case, Tunnel objects) to depend on the result of the Monoid's computation. Note that this code does not depend on any particular Monoid -- that dependency is strictly when the Tunnel objects are created. This is the async analogue of Function1Monoid.