@vivliostyle/core
    Preparing search index...

    Class ResourceStore<Resource>

    Type Parameters

    • Resource

    Hierarchy (View Summary)

    Implements

    Index

    Constructors

    Properties

    Methods

    Constructors

    Properties

    fetchers: { [key: string]: Fetcher<Resource> } = {}
    resources: { [key: string]: Resource } = {}

    Methods

    • Parameters

      • url: string
      • Optionalopt_required: boolean
      • Optionalopt_message: string

      Returns Fetcher<Resource>

      fetcher for the resource for the given URL

    • Parameters

      • url: string
      • Optionalopt_required: boolean
      • Optionalopt_message: string

      Returns Result<Resource>

      resource for the given URL