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