onRun method

FutureOr<A> onRun(
  1. A arg
)

Hook method that is called before the next handler is run.

The returned value is passed to the next handler.

If it throws, the call chain is aborted and the exception propagates to the caller.

Implementation

FutureOr<A> onRun(final A arg) {
  return arg;
}