AopInterceptor typedef

AopInterceptor = FutureOr<void> Function(AopContext context)

Interceptor function type for before, after, and onError hooks.

These interceptors receive the AopContext and can inspect or modify it. They do not return a value - use AroundInterceptor for that.

Implementation

typedef AopInterceptor = FutureOr<void> Function(AopContext context);