Stone.js API
    Preparing search index...
    • Middleware to add global and specific middleware to the kernel blueprint.

      This middleware processes modules marked as general middleware and associates them with the kernel's configuration in the blueprint.

      Parameters

      Returns Promise<IBlueprint>

      The updated blueprint.

      MiddlewareMiddleware({ modules, blueprint }, next);