tuil
ReferencePackages@mwillbanks/tuil-storyAPI

createStaticStoryHttpHandler

function exported by @mwillbanks/tuil-story.

View rawEdit

function

Public function exported by @mwillbanks/tuil-story.

export function createStaticStoryHttpHandler(
  catalog: StaticStoryCatalog,
  options: StoryHttpHandlerOptions = {},
): (request: Request) => Promise<Response>;

Members

This declaration has no public members.

Parameters

MemberTypeRequiredDescriptionRelated types
catalogStaticStoryCatalogYesSupplies the catalog value as StaticStoryCatalog.StaticStoryCatalog
optionsStoryHttpHandlerOptionsNoSupplies the options value as StoryHttpHandlerOptions.StoryHttpHandlerOptions

Returns

(request: Request) => Promise<Response> — Returns a value that satisfies (request: Request) => Promise<Response>.

Related types: —

Throws

No thrown errors are documented for this declaration.

Source

View the secondary source reference

Package

@mwillbanks/tuil-story

On this page