@tempots/ui

AsyncResultViewOptions type

Represents the options for rendering an asynchronous result view.

Signature:

export type AsyncResultViewOptions = {
    success: (value: Signal) => TNode;
    failure?: (error: Signal) => TNode;
    notAsked?: () => TNode;
    loading?: (previousValue: Signalundefined>) => TNode;
};