tuil
ReferencePackages@mwillbanks/tuil-operationsAPI

OperationFeedback

type exported by @mwillbanks/tuil-operations.

View rawEdit

type

Public type exported by @mwillbanks/tuil-operations.

export type OperationFeedback =
  | {
      readonly phase: "none" | "activity";
      readonly elapsed: number;
    }
  | {
      readonly phase: "indeterminate" | "status";
      readonly elapsed: number;
      readonly message?: string;
    }
  | {
      readonly phase: "determinate";
      readonly elapsed: number;
      readonly current: number;
      readonly total: number;
      readonly percent: number;
      readonly message?: string;
    };

Members

This declaration has no public members.

Parameters

This declaration has no public members.

Returns

This declaration does not return a value.

Throws

No thrown errors are documented for this declaration.

No package-local related types.

Source

View the secondary source reference

Package

@mwillbanks/tuil-operations

On this page