UNPKG

@jbrowse/core

Version:

JBrowse 2 core libraries used by plugins

16 lines (15 loc) 560 B
import { RemoteFile } from 'generic-filehandle2'; export interface BinaryRangeResponse { headers: Record<string, string>; requestDate: Date; responseDate: Date; buffer: Uint8Array; } export declare function clearCache(): void; export declare class RemoteFileWithRangeCache extends RemoteFile { fetch(url: string | RequestInfo, init?: RequestInit): Promise<Response>; fetchBinaryRange(url: string, start: number, end: number, options?: { headers?: HeadersInit; stopToken?: string; }): Promise<BinaryRangeResponse>; }