Reading.Task
import { Reading } from "https://raw.githubusercontent.com/i-xi-dev/bytes.es/4.4.0/deps.ts";
const { Task } = Reading;The reading task.
abstract class Task<T> extends EventTarget { }
protected readonly _signal: AbortSignal | undefined;
get indeterminate(): boolean;
protected _notifyProgress(name: _ProgressEventName): void;
abstract run(): Promise<T>;
§Properties
§
_loaded: SafeInteger
[src]The read length.
§
_status: Reading.Status
[src]The reading status.
§
total: SafeInteger readonly
[src]The total length of reading.
§
loaded: SafeInteger readonly
[src]The read length.