CommandMiddleware class abstract
Middleware — промежуточный код, выполняемый после dispatch, но до выполнения обработчика. Можно использовать для логирования, метрик, транзакций и т.п.
Constructors
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
-
handle<
R> (Command< R> command, Next<R> next) → Future<R> -
Обрабатывает команду и решает, когда вызвать
next(). -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited