Documentation
    Preparing search index...

    Function asyncContextMiddleware

    • Express-compatible middleware to initialize an empty BackendContext for the incoming request lifecycle. This must be executed before any authentication or data access operations occur in the request pipeline.

      Parameters

      • req: any

        The HTTP Request object.

      • res: any

        The HTTP Response object.

      • next: any

        The callback to pass control to the next middleware.

      Returns void