@tempots/std

Loading type

Represents a loading state in an asynchronous result.

Signature:

export type Loading = {
    readonly type: 'Loading';
    readonly previousValue?: V;
};