RouteInterceptor typedef

RouteInterceptor = FutureOr<void> Function(Context ctx)

Prototype of route interceptor. A router interceptor is a function that runs before or after the route handler.

Implementation

typedef FutureOr<void> RouteInterceptor(Context ctx);