UNPKG

cget

Version:

Robust streaming parallel download manager with filesystem cache

9 lines (8 loc) 246 B
/// <reference types="bluebird" /> import * as Promise from 'bluebird'; export declare class Deferred<Type> { constructor(); promise: Promise<Type>; resolve: (result?: Type | Promise<Type>) => void; reject: (err?: any) => void; }