kernl API
    Preparing search index...

    Function createIntentRouter

    • kernl's NAP-INTENT routing over kehto's createCatalogIntentResolver.

      kehto applies the spec's precedence and exact convention matching; kernl supplies the installed catalogue, the user's defaults, the chooser and delivery. The user's published preferences rank the chooser and pre-select a handler when exactly one compatible preferred handler is installed. When no installed applet can take the request, the user is asked once to pick one from the store; a handler picked that way is used for this request only through a one-time explicit authorisation, so an applet can never address a handler the user did not choose (NAP-INTENT, "Runtime Behavior").

      Parameters

      Returns IntentRouter

      The resolver for kehto's intent service.

      const router = createIntentRouter({ installed, defaults, choose, describeSender, deliver });
      createIntentService({ resolver: router, resolveSender });