SheetXL - v1.0.2
    Preparing search index...

    Interface IResolver

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

    A resolver for a workbook file should read it with WorkbookIO.read and 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. A source that is not a workbook file can be resolved too. 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<IExternalBook.Snapshot | null>;
    }
    Index
    • The name to show for a book, overriding its own spelling. Sync, fetches nothing.

      Parameters

      Returns string | null