LazyMiddlewareFactory<T> typedef

LazyMiddlewareFactory<T> = Future<Middleware<T>> Function(T context)

Asynchronous factory to create middleware

Implementation

typedef LazyMiddlewareFactory<T> = Future<Middleware<T>> Function(T context);