Create a catalog-backed NAP-INTENT resolver.
Catalog loader and window controller (required) plus optional default-handler, chooser, and default-protocol policy hooks.
A CatalogIntentResolver for createIntentService({ resolver }).
createIntentService({ resolver })
If options.loadCatalog or options.windows is missing.
options.loadCatalog
options.windows
const resolver = createCatalogIntentResolver({ loadCatalog: () => installedNapplets, windows: { open: ({ dTag }) => ({ windowId: openWindow(dTag) }) }, getDefaultHandler: (a) => userDefaults[a],}); Copy
const resolver = createCatalogIntentResolver({ loadCatalog: () => installedNapplets, windows: { open: ({ dTag }) => ({ windowId: openWindow(dTag) }) }, getDefaultHandler: (a) => userDefaults[a],});
Create a catalog-backed NAP-INTENT resolver.