SheetXL - v1.0.2
    Preparing search index...

    Variable LazyModulesConst

    LazyModules: {
        get: (key: string) => LazyModule<unknown> | undefined;
        getAll: () => LazyModule<unknown>[];
        prefetch: (options?: LazyPrefetchOptions) => Promise<void>;
        remove: (module: LazyModule<unknown>) => boolean;
    } = ...

    The modules defined with defineLazyModule.

    Type Declaration

    • get: (key: string) => LazyModule<unknown> | undefined

      Returns the module defined with key.

    • getAll: () => LazyModule<unknown>[]

      Returns every defined module.

    • prefetch: (options?: LazyPrefetchOptions) => Promise<void>

      Loads every module not yet loaded, one at a time while the host is idle.

      Loads nothing while offline, when the connection asks to save data, or on a 2g connection, and with onlyWhenFast nothing unless the browser reports a fast connection. Stops as soon as that changes, so call it again when the connection recovers; modules that already loaded are skipped. Modules defined with prefetch: false are never loaded ahead of use. A module that fails to load is left for its first use to retry.

    • remove: (module: LazyModule<unknown>) => boolean

      Removes module, so it is no longer loaded ahead of use. A module defined since under the same key is kept.