Function useCacheFile

  • Parameters

    • uri: null | string
    • manager: string
    • __namedParameters: {
          delay: number;
      } = ...
      • delay: number

    Returns {
        cancelAsync: (() => Promise<void>);
        downloadAsync: ((props?: CacheEntryDownloadOptions) => Promise<string>);
        error: any;
        path: null | string;
        pauseAsync: (() => Promise<DownloadPauseState>);
        progress: number;
        ready: boolean;
        resetAsync: (() => Promise<void>);
        resumeAsync: (() => Promise<string>);
        status: CacheEntryStatus;
    }

    • cancelAsync: (() => Promise<void>)
        • (): Promise<void>
        • Returns Promise<void>

    • downloadAsync: ((props?: CacheEntryDownloadOptions) => Promise<string>)
    • error: any
    • path: null | string
    • pauseAsync: (() => Promise<DownloadPauseState>)
        • (): Promise<DownloadPauseState>
        • Returns Promise<DownloadPauseState>

    • progress: number
    • ready: boolean
    • resetAsync: (() => Promise<void>)
        • (): Promise<void>
        • Returns Promise<void>

    • resumeAsync: (() => Promise<string>)
        • (): Promise<string>
        • Returns Promise<string>

    • status: CacheEntryStatus

Generated using TypeDoc