Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IPreloadService

Preload service to retrieve document data prior to the viewer call and store in cache

Hierarchy

  • IPreloadService

Index

Methods

prepareDocuments

  • Prepares documents to be viewed in the future by requesting document data, calling conversion, and pre-retrieving converted content, creating OIDocuments and loading them.

    Parameters

    • queuePointer: IQueuePointer

      The queue pointer to prepare documents for

    Returns Promise<void>

    Promise that is resolved once all preparation tasks have completed

prepareViewerQueue

  • Prepares documents to be viewed in the future by requesting document data, calling conversion, and pre-retrieving converted content, creating OIDocuments and loading them.

    Parameters

    • viewerCollection: IViewerCollection

      the viewerCollection used to know what viewer is being loaded

    Returns Promise<void>

    Promise that is resolved once all preparation tasks have completed