lazy method

void lazy(
  1. LazyMiddlewareFactory<T> factory
)

Lazily asynchronously gets middleware

Implementation

void lazy(LazyMiddlewareFactory<T> factory) {
  use(getLazyMiddleware(factory));
}