SheetXL - v0.8.0-beta.9+sites.210.e2d420901
    Preparing search index...

    Interface IResolver

    Opens a book's source and answers its current contents, or declines.

    DESIGN-EXTERNAL-LINKS §4D: the default one (phase E) is WorkbookIO.read with calcOnLoad: 'none', taking the source's own cached values and never evaluating it — that is what Excel's cache holds, and it keeps A-cites-B-cites-C from becoming a crawl. An extension point for a source that is not a workbook file. WHETHER a source may be opened at all — an untrusted file naming an arbitrary path or URL — is the host's decision, made before this is asked; a resolver never fetches on its own initiative, only on IExternalBook.refresh.

    interface IResolver {
        displayName?(book: IExternalBook): string | null;
        resolve(book: IExternalBook): Promise<Snapshot | null>;
    }
    Index
    • The name to show for a book, overriding its own spelling. Sync, fetches nothing.

      Parameters

      Returns string | null