$aggregate top-level property

Future<List<TResult>> Function<TResult>(IAggregator<TResult> aggregator) $aggregate
final

Processes an aggregator through all registered handlers and returns their results.

Unlike commands which have a single handler, aggregators can have multiple handlers.

The results from all handlers are collected and returned as a list.

@param aggregator The aggregator to process @returns A Future containing a list of results from all handlers

Implementation

final $aggregate = Mediator.aggregators.aggregate;