Stone.js API
    Preparing search index...
    • Register the renderer on the native adapter.

      Two things, both conditional on actually running on a phone, so an application carrying several adapters (a native build and a web one from the same source) only pays for the one it runs: the response middleware that displays a route, and the hook that turns a kernel response into a page.

      Parameters

      • context: BlueprintContext<IBlueprint, ClassType>

        The configuration context.

      • next: NextMiddleware<BlueprintContext<IBlueprint, ClassType>, IBlueprint>

        The next pipeline function.

      Returns Promise<IBlueprint>

      The updated blueprint.