tryError Documentation

Interface: ProgressTracker\<T\>
Interface

Defined in: [async.ts:546](https://github.com/oconnorjohnson/try-error/blob/e3ae0308069a4fba073f4543d527ad76373db795/src/async.ts#L546) Progress tracking for long-running async operations

tryError API Documentation v0.0.1-alpha.1


tryError API Documentation / ProgressTracker

Interface: ProgressTracker<T>

Defined in: async.ts:546

Progress tracking for long-running async operations

Type Parameters

T

T

Properties

cancel()

cancel: () => void;

Defined in: async.ts:549

Returns

void


getProgress()

getProgress: () => number;

Defined in: async.ts:548

Returns

number


promise

promise: Promise<TryResult<T, TryError<string>>>;

Defined in: async.ts:547