UNPKG

@benev/praxis

Version:
11 lines (10 loc) 307 B
import { Progress } from "./progress.js"; export declare class Task<T = any> { #private; label: string; progress: Progress | undefined; readonly id: string; promise: Promise<T>; constructor(label: string, progress: Progress | undefined, promise: Promise<T>); get payload(): T; }