Skip to content

@shtse8/fluxus v1.0.0


@shtse8/fluxus / src / AsyncValue

Type Alias: AsyncValue<T>

AsyncValue<T> = AsyncLoading | AsyncData<T> | AsyncError

Defined in: src/types.ts:85

A union type representing the possible states of an asynchronous operation: loading, data, or error.

Inspired by Riverpod's AsyncValue.

Type Parameters

T

T

Released under the ISC License.